Torna al Thread
CREATE TABLE [dbo].[Anagrafica_camere](
[Id] [int] IDENTITY(1,1) NOT NULL,
[codalbergo] [int] NULL,
[codicecomune] [int] NULL,
[nrcamera] [int] NULL,
[nrletti] [int] NULL,
[nrlettiextra] [int] NULL,
[nrbagni] [int] NULL,
CONSTRAINT [PK_Anagrafica_camere] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
Insert into Anagrafica_camere (codalbergo,codicecomune,nrcamera,nrletti,nrlettiextra,nrbagni) Values (1,60001,1,1,2,1,1) Insert into Anagrafica_camere (codalbergo,codicecomune,nrcamera,nrletti,nrlettiextra,nrbagni) Values (1,60001,2,1,2,1,1) Insert into Anagrafica_camere (codalbergo,codicecomune,nrcamera,nrletti,nrlettiextra,nrbagni) Values (1,60001,3,1,2,1,1) Insert into Anagrafica_camere (codalbergo,codicecomune,nrcamera,nrletti,nrlettiextra,nrbagni) Values (1,60001,4,1,2,1,1) Insert into Anagrafica_camere (codalbergo,codicecomune,nrcamera,nrletti,nrlettiextra,nrbagni) Values (1,60002,1,1,2,1,1) Insert into Anagrafica_camere (codalbergo,codicecomune,nrcamera,nrletti,nrlettiextra,nrbagni) Values (1,60002,2,1,2,1,1) Insert into Anagrafica_camere (codalbergo,codicecomune,nrcamera,nrletti,nrlettiextra,nrbagni) Values (1,60002,3,1,2,1,1) Insert into Anagrafica_camere (codalbergo,codicecomune,nrcamera,nrletti,nrlettiextra,nrbagni) Values (2,60002,1,1,2,1,1) Insert into Anagrafica_camere (codalbergo,codicecomune,nrcamera,nrletti,nrlettiextra,nrbagni) Values (1,60003,1,1,2,1,1)