MySQL Forums
Forum List  »  Connector/C++

Re: Connector c++ 8 converting field Value for DATE to time_t
Posted by: Peter Brawley
Date: August 23, 2021 11:31AM

> I think is MUST be possible to work with RAW BYTES

Must based on what, exactly?

Relational databases are not designed for, indeed are designed to prevent such under-the-hood data manipulation.

> The result Columns have no name

SELECT ..., CAST(birth as char) as birth_string will return the values with the aliased name `birth_string`.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Connector c++ 8 converting field Value for DATE to time_t
514
August 23, 2021 11:31AM


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.