Sunday, January 5, 2014

Sql temp table with primary key and autoincrement field?

CREATE TABLE #TBL
(
ID INT IDENTITY(1, 1) primary key ,
SOMETHING VARCHAR(50)
);

No comments:

Post a Comment