if not Exists(SELECT * FROM information_schema.tables where Table_name = 'BankAccount') begin create table BankAccount ( ID int primary key, Code nvarchar(200), AccountNumber nvarchar(200), ShebaNumber nvarchar(200), Dom_ID_AccountType int references Domain(ID) not null, Pro_ID_Bank int references OtherProperties (ID) not null, Pro_ID_Branch int references OtherProperties (ID) not null, Dom_ID_Status int references domain(ID) not null, Taf_ID bigint references Tafsili(ID) null, Tel nvarchar(200), Description nvarchar(1000), CodeKarbar int references karbar(ID) not null, TarikhSabt int not null, SaatSabt int not null ) end