Quantcast
Channel: flounderCode()
Viewing all articles
Browse latest Browse all 10

sql CREATE TABLE

$
0
0

Below is the syntax for creating a new table in SQL with a few extras including IDENTITY and PK:

create table tablename
(
id int IDENTITY(1,1),
batch_no int, 
filenm varchar(200),
processed_dt datetime,
is_provbit,
is_manual bit,
is_data bit
PRIMARY KEY (batch_no)
)


Viewing all articles
Browse latest Browse all 10

Trending Articles