mallow
asked on
printf format specification for types....
i saw the format specification of printf, but i don't know which type is for which ... like %f is for float right?
i'm trying to use the string.format to be used in my sql statement... i get the values from a table in a database...and these are the types that i get from odbc...
types when binded using odbc
TEXT---------------------- -- text
LONGTEXT------------------ -- text
Currency------------------ -- text
Long---------------------- -- long
Counter------------------- -- long
Bit----------------------- -- Bool
Datetime------------------ -- DateTime
LongBinary---------------- -- text
if float is %f , long is %_? or datatime is % ? the string fomat is supposed to be the same as those of printf, it's supposed to convert the said types to string, i just don't know which letters to use...
i'm trying to use the string.format to be used in my sql statement... i get the values from a table in a database...and these are the types that i get from odbc...
types when binded using odbc
TEXT----------------------
LONGTEXT------------------
Currency------------------
Long----------------------
Counter-------------------
Bit-----------------------
Datetime------------------
LongBinary----------------
if float is %f , long is %_? or datatime is % ? the string fomat is supposed to be the same as those of printf, it's supposed to convert the said types to string, i just don't know which letters to use...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.