Code Snippet
/****** Objekt: Tabelle [dbo].[Interessent_INT] Skriptdatum: 03.05.2007 13:22:25 ******/
CREATE TABLE [dbo].[Interessent_INT] (
[Id_INT] [int] IDENTITY (1, 1) NOT NULL ,
[IdFIR_INT] [int] NOT NULL ,
[IdKTE_status_INT] [int] NULL ,
[IdMAR_INT] [nvarchar] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Lagebeschreibung_INT] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[IdKTE_typ_zustand_INT] [int] NULL ,
[IdKTE_typ_lage_INT] [int] NULL ,
[IdFAD_INT] [int] NULL ,
[IdFAA_INT] [int] NULL ,
[IdKTE_akquisitionsart_INT] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Baujahr_von_INT] [int] NULL ,
[Baujahr_bis_INT] [int] NULL ,
[Gesflache_von_INT] [int] NULL ,
[Gesflache_bis_INT] [int] NULL ,
[Park_von_INT] [int] NULL ,
[Park_bis_INT] [int] NULL ,
[Datum_hinzugefugt_INT] [smalldatetime] NULL ,
[IdMAR_charge_INT] [nvarchar] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Datum_modif_INT] [smalldatetime] NULL ,
[IdMAR_modif_INT] [nvarchar] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Priority_INT] [char] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Sucher_Int] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL CONSTRAINT [DF_Interessent_INT_Sucher_Int] DEFAULT (''),
CONSTRAINT [PK_Interessent_INT] PRIMARY KEY CLUSTERED
(
[Id_INT]
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
CREATE INDEX [IdFIR_INT] ON [dbo].[Interessent_INT]([IdFIR_INT]) ON [PRIMARY]
GO
CREATE INDEX [IdKTE_status_INT] ON [dbo].[Interessent_INT]([IdKTE_status_INT]) ON [PRIMARY]
GO
CREATE INDEX [IdMAR_INT] ON [dbo].[Interessent_INT]([IdMAR_INT]) ON [PRIMARY]
GO
CREATE INDEX [IdKTE_typ_zustand_INT] ON [dbo].[Interessent_INT]([IdKTE_typ_zustand_INT]) ON [PRIMARY]
GO
CREATE INDEX [IdKTE_typ_lage_INT] ON [dbo].[Interessent_INT]([IdKTE_typ_lage_INT]) ON [PRIMARY]
GO
CREATE INDEX [IdMAR_modif_INT] ON [dbo].[Interessent_INT]([IdMAR_modif_INT]) ON [PRIMARY]
GO
CREATE INDEX [IdFAA_INT] ON [dbo].[Interessent_INT]([IdFAA_INT]) ON [PRIMARY]
GO
CREATE INDEX [IdKTE_akquisitionsart_INT] ON [dbo].[Interessent_INT]([IdKTE_akquisitionsart_INT]) ON [PRIMARY]
GO
CREATE INDEX [IdMAR_charge_INT] ON [dbo].[Interessent_INT]([IdMAR_charge_INT]) ON [PRIMARY]
GO
exec sp_addextendedproperty N'MS_DefaultView', 2, N'user', N'dbo', N'table', N'Interessent_INT'
GO
exec sp_addextendedproperty N'MS_Filter', N'((Interessent_INT.Id_INT=1470))', N'user', N'dbo', N'table', N'Interessent_INT'
GO
exec sp_addextendedproperty N'MS_OrderBy', null, N'user', N'dbo', N'table', N'Interessent_INT'
GO
exec sp_addextendedproperty N'MS_OrderByOn', 0x0, N'user', N'dbo', N'table', N'Interessent_INT'
GO
exec sp_addextendedproperty N'MS_Orientation', 0, N'user', N'dbo', N'table', N'Interessent_INT'
GO
exec sp_addextendedproperty N'MS_TableMaxRecords', 10000, N'user', N'dbo', N'table', N'Interessent_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Id_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Id_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdFAA_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdFAA_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdFAA_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_akquisitionsart_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_akquisitionsart_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_akquisitionsart_INT'
GO
exec sp_addextendedproperty N'MS_Description', N'Stored as text in order to be able to input other values than those in the catalogue without adding them to the catalogue', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_akquisitionsart_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Baujahr_von_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Baujahr_von_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Baujahr_von_INT'
GO
exec sp_addextendedproperty N'MS_Description', N'Baujahr from', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Baujahr_von_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Baujahr_bis_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Baujahr_bis_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Baujahr_bis_INT'
GO
exec sp_addextendedproperty N'MS_Description', N'Baujahr to', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Baujahr_bis_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Gesflache_von_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Gesflache_von_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Gesflache_von_INT'
GO
exec sp_addextendedproperty N'MS_Description', N'Total surface from', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Gesflache_von_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Gesflache_bis_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Gesflache_bis_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Gesflache_bis_INT'
GO
exec sp_addextendedproperty N'MS_Description', N'Total surface to', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Gesflache_bis_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Park_von_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Park_von_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Park_von_INT'
GO
exec sp_addextendedproperty N'MS_Description', N'Number of parkings from', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Park_von_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Park_bis_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Park_bis_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Park_bis_INT'
GO
exec sp_addextendedproperty N'MS_Description', N'Number of parkings to', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Park_bis_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Datum_hinzugefugt_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Datum_hinzugefugt_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Datum_hinzugefugt_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdMAR_charge_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdMAR_charge_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdMAR_charge_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Datum_modif_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Datum_modif_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Datum_modif_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdMAR_modif_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdMAR_modif_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdMAR_modif_INT'
GO
exec sp_addextendedproperty N'MS_Description', N'priority', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Priority_INT'
GO
exec sp_addextendedproperty N'MS_DisplayControl', N'109', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Priority_INT'
GO
exec sp_addextendedproperty N'MS_Format', null, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Priority_INT'
GO
exec sp_addextendedproperty N'MS_IMEMode', N'0', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Priority_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Id_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdFIR_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdFIR_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdFIR_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_status_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_status_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_status_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdMAR_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdMAR_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdMAR_INT'
GO
exec sp_addextendedproperty N'MS_Description', N'Betreuer', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdMAR_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Lagebeschreibung_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Lagebeschreibung_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Lagebeschreibung_INT'
GO
exec sp_addextendedproperty N'MS_Description', N'Lagebeschreibung des gesuchten Objektes', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'Lagebeschreibung_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_typ_zustand_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_typ_zustand_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_typ_zustand_INT'
GO
exec sp_addextendedproperty N'MS_ColumnHidden', 0x0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_typ_lage_INT'
GO
exec sp_addextendedproperty N'MS_ColumnOrder', 0, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_typ_lage_INT'
GO
exec sp_addextendedproperty N'MS_ColumnWidth', 65535, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdKTE_typ_lage_INT'
GO
exec sp_addextendedproperty N'MS_DisplayControl', N'109', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdFAD_INT'
GO
exec sp_addextendedproperty N'MS_Format', null, N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdFAD_INT'
GO
exec sp_addextendedproperty N'MS_IMEMode', N'0', N'user', N'dbo', N'table', N'Interessent_INT', N'column', N'IdFAD_INT'
GO