Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to read a timestamp value from an Oracle database and store its value in a char array... I am using VC++ platform to achieve this. All suggestions are appreciated.

I need solution as a query.

Thanks...
Posted
Updated 2-Mar-15 18:45pm
v2

1 solution

I need solution as a query.
Since we have no idea of the structure of your database, its tables, or indeed the field you are interested in then it is impossible to provide it. However, there are standard library functions that will convert a timestamp into a character string, depending on the format and value of the timestamp. See https://msdn.microsoft.com/en-us/library/w4ddyt9h.aspx[^] for details.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900