-- ========================================= -- Create table template -- v 0.2 zmiana pól od obrazków na ze smallint na bit, zwiększenie ilości obrazków -- ========================================= CREATE TABLE [myconsult_haftmittel].[Lista] ( hml_TwrTyp smallint NOT NULL, hml_TwrNumer int NOT NULL, hml_DataPowstania datetime default GetDate(), hml_DataArchiwizacji datetime default null, hml_Herstellort nvarchar(max) default '', hml_SDStext nvarchar(max) default '', hml_SDS1 bit default 0, hml_SDS2 bit default 0, hml_SDS3 bit default 0, hml_SDS4 bit default 0, hml_SDS5 bit default 0, hml_SDS6 bit default 0, hml_SDS7 bit default 0, hml_SDS8 bit default 0, hml_SDS9 bit default 0, hml_SDS10 bit default 0, hml_Schichten nvarchar(max) default '', hml_Eigenschaften nvarchar(max) default '', hml_Anleitung nvarchar(max) default '', hml_FS_od decimal(15,4) default 0, hml_FS_do decimal(15,4) default 0, hml_Dichte decimal(15,4) default 0, hml_Dichte_do decimal(15,4) default 0, hml_Viskositat_od decimal(15,4) default 0, hml_Viskositat_do decimal(15,4) default 0, hml_Farbe nvarchar(max) default '', hml_Verdunnung nvarchar(max) default '', hml_Schichtdicke_od decimal(15,4) default 0, hml_Schichtdicke_do decimal(15,4) default 0, hml_Leistung decimal(15,4) default 0, hml_Lagerkapazitat decimal(15,4) default 0, hml_Verarbeitung nvarchar(max) default '', hml_Inh0_Id int default 0, hml_Inh0_Procent decimal(18,4) default 0, hml_Inh0_ProcentDo decimal(18,4) default 0, hml_Inh1_Id int default 0, hml_Inh1_Procent decimal(18,4) default 0, hml_Inh1_ProcentDo decimal(18,4) default 0, hml_Inh2_Id int default 0, hml_Inh2_Procent decimal(18,4) default 0, hml_Inh2_ProcentDo decimal(18,4) default 0, hml_Inh3_Id int default 0, hml_Inh3_Procent decimal(18,4) default 0, hml_Inh3_ProcentDo decimal(18,4) default 0, hml_Inh4_Id int default 0, hml_Inh4_Procent decimal(18,4) default 0, hml_Inh4_ProcentDo decimal(18,4) default 0, hml_Inh5_Id int default 0, hml_Inh5_Procent decimal(18,4) default 0, hml_Inh5_ProcentDo decimal(18,4) default 0, hml_Inh6_Id int default 0, hml_Inh6_Procent decimal(18,4) default 0, hml_Inh6_ProcentDo decimal(18,4) default 0, hml_Inh7_Id int default 0, hml_Inh7_Procent decimal(18,4) default 0, hml_Inh7_ProcentDo decimal(18,4) default 0, hml_Inh8_Id int default 0, hml_Inh8_Procent decimal(18,4) default 0, hml_Inh8_ProcentDo decimal(18,4) default 0, hml_Inh9_Id int default 0, hml_Inh9_Procent decimal(18,4) default 0, hml_Inh9_ProcentDo decimal(18,4) default 0, hml_Inh10_Id int default 0, hml_Inh10_Procent decimal(18,4) default 0, hml_Inh10_ProcentDo decimal(18,4) default 0, hml_Inh11_Id int default 0, hml_Inh11_Procent decimal(18,4) default 0, hml_Inh11_ProcentDo decimal(18,4) default 0, hml_Inh12_Id int default 0, hml_Inh12_Procent decimal(18,4) default 0, hml_Inh12_ProcentDo decimal(18,4) default 0, hml_Inh13_Id int default 0, hml_Inh13_Procent decimal(18,4) default 0, hml_Inh13_ProcentDo decimal(18,4) default 0, hml_Inh14_Id int default 0, hml_Inh14_Procent decimal(18,4) default 0, hml_Inh14_ProcentDo decimal(18,4) default 0, hml_Inh15_Id int default 0, hml_Inh15_Procent decimal(18,4) default 0, hml_Inh15_ProcentDo decimal(18,4) default 0, hml_Inh16_Id int default 0, hml_Inh16_Procent decimal(18,4) default 0, hml_Inh16_ProcentDo decimal(18,4) default 0, hml_Inh17_Id int default 0, hml_Inh17_Procent decimal(18,4) default 0, hml_Inh17_ProcentDo decimal(18,4) default 0, hml_Inh18_Id int default 0, hml_Inh18_Procent decimal(18,4) default 0, hml_Inh18_ProcentDo decimal(18,4) default 0, hml_Inh19_Id int default 0, hml_Inh19_Procent decimal(18,4) default 0, hml_Inh19_ProcentDo decimal(18,4) default 0, hml_Behelter nvarchar(max) default '', hml_OpeNumer int default 0 ) GO