if not Exists(SELECT * FROM information_schema.tables where Table_name = 'kalaProperty') begin create table KalaProperty ( ID int primary key, Kal_ID int references Kala(ID) not null, CSD_ID int references ControlStructureDetail(ID) not null, Value nvarchar(1000) ) end