if not Exists(SELECT * FROM information_schema.tables where Table_name = 'Places') begin create table dbo.Places ( ID int primary key, Place_ID int references Places(ID) null, Title nvarchar(200), Icon image, DllName nvarchar(100), FormPath nvarchar(300), Parameter nvarchar(300), IsActive int references Domain(ID) null, Visible int references Domain(ID) null, Pririty int, Description nvarchar(500) ) end if not Exists(SELECT * FROM information_schema.tables where Table_name = 'Shortcuts') begin create table dbo.Shortcuts ( ID int primary key , Title nvarchar(200), Place_ID int foreign key references places(ID), Kar_ID int foreign key references karbar(ID), ShortcutKey varchar(200), X int not null default 0, Y int not null default 0 ) end