Torna al Thread

CREATE TABLE [dbo].[tab_Alloggiati]( [Codice_Albergo] [int] NOT NULL, [Codice_Scheda] [bigint] NOT NULL, [Appartenenza] [smallint] NOT NULL, [Tipo_Alloggiato_Codice] [int] NULL, [Data_Arrivo] [datetime] NULL, [Data_Partenza] [datetime] NULL, [Cognome] [nvarchar](50) NULL, [Nome] [varchar](50) NULL, [Sesso] [smallint] NULL, [Data_Nascita] [datetime] NULL, [Luogo_Nascita_Codice] [int] NULL, [Luogo_Nascita_Descrizione] [varchar](100) NULL, [Provincia_Nascita_Codice] [int] NULL, [Provincia_Nascita_Descrizione] [varchar](100) NULL, [Stato_Nascita_Codice] [int] NULL, [Stato_Nascita_Descrizione] [varchar](100) NULL, [Cittadinanza_Codice] [int] NULL, [Cittadinanza_Descrizione] [varchar](100) NULL, [Comune_Residenza_Codice] [int] NULL, [Comune_Residenza_Descrizione] [varchar](100) NULL, [Provincia_Residenza_Codice] [int] NULL, [Provincia_Residenza_Descrizione] [varchar](100) NULL, [Stato_Residenza_Codice] [int] NULL, [Stato_Residenza_Descrizione] [varchar](100) NULL, [Documento_Identita_Codice] [int] NULL, [Numero_Documento] [varchar](20) NULL, [Luogo_Rilascio_Documento_Codice] [int] NULL, [Luogo_Rilascio_Documento_Descrizione] [varchar](100) NULL, [Stato_Rilascio_Documento_Codice] [int] NULL, [Stato_Rilascio_Documento_Descrizione] [varchar](100) NULL, [Partito] [bit] NULL, [C59] [bit] NULL, [Gruppo_Codice] [int] NULL, [Gruppo_Descrizione] [varchar](100) NULL, [Inviato_PS] [bit] NULL, [Inviato_PS_Data] [datetime] NULL, [Inviato_PS_Numero_Invio] [int] NULL, [Codice_Cliente] [int] NULL, [Codice_Scheda_Importazione] [varchar](5) NULL, CONSTRAINT [PK_tab_Alloggiati_1] PRIMARY KEY CLUSTERED ( [Codice_Albergo] ASC, [Codice_Scheda] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY]
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5