dbconvert function in db-lib

Bill Thompson thompbil at exchange.uk.ml.com
Wed Dec 5 06:50:08 EST 2001


Hey Guys,

Will this function convert a date held as a SYBCHAR in the format "Dec  5
2001 10:34:47:506AM" (the default character output format of a date using
Sybase bcp -c) , into the SYBDATETIME format ?

I've tried looking at tds/convert.c , but the code is WAY too clever for
me :-)...

Answers on a postcard please....

P.S. dblib bcp work is still going well.

Bill.



More information about the FreeTDS mailing list