if not Exists(SELECT * FROM information_schema.tables where Table_name = 'Configuration') begin create table Configuration ( ID int Primary Key, Dom_ID int references Domain(ID) not null, Value nvarchar(1000) ) end