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,

Options: ReplyQuote

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

Sorry, you can't reply to this topic. It has been closed.

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.