[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql-odbc
Subject:    Re: Anyone know the c syntax for
From:       Nick Gorham <nick () lurcher ! org>
Date:       2002-01-05 11:23:32
[Download RAW message or body]



"Devore, Jacob" wrote:

> Do you know if there is an issue with getting it as a string?  For some
> reason the odbc call doesn't fill in the data correctly.  Also, how do I
> request the timestamp from the server so that it returns data in this
> format?
>

There *should* be no issue, but venu would be the one to give the definitive
answer. You should need to do nothing special to get it as a timestamp, just
select tsfield from table, then do a SQLGetData with a dataype of SQL_C_CHAR.
However if that doesn't work, there may be a problem somewhere.

Thats what it *should* do anyway...

Nick


---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail myodbc-thread4474@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail myodbc-unsubscribe@lists.mysql.com instead.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic