MySQL Forums
Forum List  »  Newbie

Re: Insert data based on one datetime
Posted by: Peter Brawley
Date: October 20, 2021 10:00AM

drop table if exists t;
create table t( i int, c varchar(8), dt datetime(0) );
insert into t values('597', 'washup', '2021-10-11 13:02:14' );
select * from t;
+------+--------+---------------------+
| i    | c      | dt                  |
+------+--------+---------------------+
|  597 | washup | 2021-10-11 13:02:14 |
+------+--------+---------------------+

Options: ReplyQuote


Subject
Written By
Posted
Re: Insert data based on one datetime
October 20, 2021 10:00AM


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.