Mega Code Archive

 
Categories / MSSQL Tutorial / Table
 

A statement that creates a table with column attributes

4> 5> CREATE TABLE Billings 6> (BillingID      INT   NOT NULL IDENTITY PRIMARY KEY, 7> BankerID        INT   NOT NULL, 8> BillingDate     SMALLDATETIME NULL, 9> BillingTotal    MONEY NULL DEFAULT 0) 10> GO 1> 2> drop table Billings; 3> GO