IF object_id TUser is null CREATE TABLE TUser id int NOT NULL IDENTITY

1
2
3
4
5
6
7
8
IF object_id('TUser') is null
CREATE TABLE [TUser]
(
[id] int NOT NULL IDENTITY PRIMARY KEY,
[name] Varchar(20) NOT NULL,
[email] Varchar(30) NOT NULL,
[password] Varchar(32) NOT NULL
)