if not Exists(SELECT * FROM information_schema.tables where Table_name = 'MatterProperty') begin create table MatterProperty ( ID int primary key identity(1,1), Mat_ID bigint references Matter(ID) not null, Dom_ID int references domain(ID) not null, Dom_ID_Detail int references domain(ID) null, Value nvarchar(max), Description nvarchar(max), Kar_ID_Creator int references karbar(Id) not null, TarikhSabt int not null, SaatSabt int not null ) end