MYSQL - CREATE TABLE users - example script


/ Published in: MySQL
Save to your folder(s)

Example CREATE TABLE script


Copy this code and paste it in your HTML
  1. CREATE TABLE users(
  2. first_name VARCHAR( 20 ) NOT NULL ,
  3. last_name VARCHAR( 40 ) NOT NULL ,
  4. email VARCHAR( 60 ) NOT NULL ,
  5. pass CHAR( 40 ) NOT NULL ,
  6. registration_date DATETIME NOT NULL ,
  7. PRIMARY KEY ( user_id )
  8. )

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.