Skip to Content.
Sympa Menu

freetds - Re: datetime values

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT umcc.ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: datetime values
  • Date: Thu, 17 Feb 2000 17:25:59 -0500 (EST)



use tds_convert() to convert it to SYBCHAR (or whatever) see convert.c for
details.

Brian

On Thu, 17 Feb 2000, Michael Suedkamp wrote:

> Hi,
>
> maybe a stupid question:
>
> I would like to extend the the function value_as_string of
> samples/tdstest.c example to return datetime values from MSSQL7.
> The coltype tdstest returns is 111 for both datetime and smalldatetime
> types.
>
> I have no real idea to what type I have to cast the value...
>
> TIA
>
> Michael
>
> ---
> You are currently subscribed to freetds as: camber AT ais.org
> To unsubscribe, forward this message to $subst('Email.Unsub')
>
>




  • Re: datetime values, Brian Bruns, 02/17/2000

Archive powered by MHonArc 2.6.24.

Top of Page