Search
 
SCRIPT & CODE EXAMPLE
 

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
);
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql show table fields 
Sql :: min salary in sql 
Sql :: rename database in sql 
Sql :: check constraint in sql 
Sql :: login to mysql database 
Sql :: database disk image is malformed sqlite fix ubuntu 
Sql :: sql server list locks 
Sql :: Get the Db column names from a SqlDataReader 
Sql :: select nextval from sequence sql 
Sql :: sql get last inserted row 
Sql :: describe table postgres 
Sql :: postgresql set auto increment value 
Sql :: mysql clear screen 
Sql :: not exists mysql 
Sql :: mysql set last_insert_id 
Sql :: current date in postgresql minus 1 day 
Sql :: mysql email validation 
Sql :: postgresql resolv duplicate value violates unique constraint 
Sql :: xampp import sql file command line 
Sql :: sql convert varchar to date 
Sql :: postgres create column with default value 
Sql :: sqlalchemy return id after insert 
Sql :: drop column from local database postgres pgadmin 
Sql :: mysql cast null to string 
Sql :: get time component of datetime sql 
Sql :: sql now 
Sql :: avg sql 
Sql :: convert multiple columns to rows in sql server 
Sql :: how to combine 2 tables in mysql 
Sql :: postgres like case insensitive 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =