I am using MS SQL Server 2005.
I use HostMySite as my hosting company, and last night I had them generate a .SQL script of the database. When I looked at the .SQL script, I noticed this and was wondering if this was normal or was there something wrong with the initial dB schema:
The above CREATE TABLE snippet appears for all tables. I wanted to know what the purpose of the portion in red is.
_____________________________
Just Imagine.
I use HostMySite as my hosting company, and last night I had them generate a .SQL script of the database. When I looked at the .SQL script, I noticed this and was wondering if this was normal or was there something wrong with the initial dB schema:
Code:
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[ABCD].[help]') AND type in (N'U'))
BEGIN
CREATE TABLE [ABCD].[help](
[helpid] [int] IDENTITY(1,1) NOT NULL,
[helptitle] [varchar](200) NULL,
[helpcontent] [varchar](800) NULL,
[COLOR=red] CONSTRAINT [PK_help_Temp] PRIMARY KEY CLUSTERED
(
[helpid] ASC
)WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
)[/color] ON [PRIMARY]
END
The above CREATE TABLE snippet appears for all tables. I wanted to know what the purpose of the portion in red is.
_____________________________
Just Imagine.