if not Exists(SELECT * FROM information_schema.tables where Table_name = 'CallerIdRing') begin create table CallerIdRing ( ID int Primary key identity(1,1), Peo_ID int references People(ID) null, PhoneNumber nvarchar(20), TarikhSabt int not null, SaatSabt int not null ) end