Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to assign date field for table in mysql


        
            
        
     CREATE TABLE people (
    id INT AUTO_INCREMENT PRIMARY KEY,
    first_name VARCHAR(50) NOT NULL,
    last_name VARCHAR(50) NOT NULL,
    birth_date DATE NOT NULL
);
Source by www.mysqltutorial.org #
 
PREVIOUS NEXT
Tagged: #assign #date #field #table #mysql
ADD COMMENT
Topic
Name
8+2 =