if not Exists(SELECT * FROM information_schema.tables where Table_name = 'PrescriptionPeoplePattern') begin create table PrescriptionPeoplePattern ( ID int primary key, Taf_ID bigint references tafsili(id) not null, -- کد حساب شحص Pro_ID_Pattern int references otherProperties(id) not null, -- نظام Kar_ID_Creator int References Karbar(ID) not null, TarikhSabt int not null, SaatSabt int not null ) end