0

Which type of data type is used for adding DOB( Date of Birth ) in the Table of MySql ?

5th Jan 2023, 10:31 AM
Abhishek Gupta
2 Answers
+ 3
Table created a dob field with DATE type CREATE TABLE persons ( dob DATE ); Insert dob data with INSERT INTO persons (dob) VALUES ('2010-12-01');
5th Jan 2023, 10:44 AM
CalviŐČ
CalviŐČ - avatar
+ 3
Thanks. It's working.
5th Jan 2023, 11:31 AM
Abhishek Gupta