MySQL Forums
Forum List  »  Connector/C++

get date/ datetime from database
Posted by: Reinhard Pagitsch
Date: March 19, 2022 04:02AM

Hello to all,

I try to develop a simple C++ program to get data from a MYSQL database.

One of the column has the type date and one the type datetime.

My question is now how can I get these types?

sql::ResultSet does not have methods for these types. I do not found methods for it.

Thank you,
Reinhard

Options: ReplyQuote


Subject
Views
Written By
Posted
get date/ datetime from database
233
March 19, 2022 04:02AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.