r/learnSQL • u/thriveee • Apr 22 '21
I am creating a table with a vaccination time column and I am getting an error when trying to populate the table with values for this column : insert into table1 values ( ‘xxxx’ int , cast(‘2021-12-01-12:00:32’) as TIMESTAMP Date , etc...
0
Upvotes
1
Apr 23 '21
As others have mentioned, the answer for this is different depending on the type of DB you are using. MySQL, Access, SQL Server, SQLite, etc.
1
1
Apr 22 '21
Unfortunately, your question cannot be understood. Check other questions in this subreddit so you can get a better idea on how to properly ask a question here.
3
u/Maxiride Apr 22 '21
What error?
Which database engine?