-- START dbo.TestDataType_bigint.Table.sql
/****** Object: Table [dbo].[TestDataType_bigint] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_bigint]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_bigint]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_bigint]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_bigint](
[TestDataType_bigintId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_bigint] [bigint] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_bigintId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF,
ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_bigintId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF,
ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_bigint.Table.sql
-- START dbo.TestDataType_binary.Table.sql
/****** Object: Table [dbo].[TestDataType_binary] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_binary]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_binary]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_binary]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_binary](
[TestDataType_binaryId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_binary] [binary](1) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_binaryId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_binaryId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_binary.Table.sql
-- START dbo.TestDataType_bit.Table.sql
/****** Object: Table [dbo].[TestDataType_bit] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_bit]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_bit]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_bit]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_bit](
[TestDataType_bitId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_bit] [bit] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_bitId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_bitId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_bit.Table.sql
-- START dbo.TestDataType_char.Table.sql
/****** Object: Table [dbo].[TestDataType_char] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_char]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_char]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_char]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_char](
[TestDataType_charId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_char] [char](1) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_charId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_charId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_char.Table.sql
-- START dbo.TestDataType_datetime.Table.sql
/****** Object: Table [dbo].[TestDataType_datetime] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_datetime]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_datetime]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_datetime]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_datetime](
[TestDataType_datetimeId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_datetime] [datetime] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_datetimeId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_datetimeId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_datetime.Table.sql
-- START dbo.TestDataType_decimal.Table.sql
/****** Object: Table [dbo].[TestDataType_decimal] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_decimal]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_decimal]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_decimal]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_decimal](
[TestDataType_decimalId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_decimal] [decimal](18, 0) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_decimalId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_decimalId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_decimal.Table.sql
-- START dbo.TestDataType_float.Table.sql
/****** Object: Table [dbo].[TestDataType_float] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_float]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_float]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_float]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_float](
[TestDataType_floatId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_float] [float] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_floatId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_floatId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_float.Table.sql
-- START dbo.TestDataType_image.Table.sql
/****** Object: Table [dbo].[TestDataType_image] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_image]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_image]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_image]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_image](
[TestDataType_imageId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_image] [image] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_imageId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_imageId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
END
GO
-- END dbo.TestDataType_image.Table.sql
-- START dbo.TestDataType_int.Table.sql
/****** Object: Table [dbo].[TestDataType_int] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_int]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_int]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_int]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_int](
[TestDataType_intId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_int] [int] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_intId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_intId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_int.Table.sql
-- START dbo.TestDataType_money.Table.sql
/****** Object: Table [dbo].[TestDataType_money] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_money]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_money]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_money]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_money](
[TestDataType_moneyId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_money] [money] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_moneyId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_moneyId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_money.Table.sql
-- START dbo.TestDataType_nchar.Table.sql
/****** Object: Table [dbo].[TestDataType_nchar] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_nchar]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_nchar]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_nchar]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_nchar](
[TestDataType_ncharId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_nchar] [nchar](1) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_ncharId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_ncharId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_nchar.Table.sql
-- START dbo.TestDataType_ntext.Table.sql
/****** Object: Table [dbo].[TestDataType_ntext] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_ntext]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_ntext]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_ntext]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_ntext](
[TestDataType_ntextId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_ntext] [ntext] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_ntextId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_ntextId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
END
GO
-- END dbo.TestDataType_ntext.Table.sql
-- START dbo.TestDataType_numeric.Table.sql
/****** Object: Table [dbo].[TestDataType_numeric] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_numeric]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_numeric]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_numeric]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_numeric](
[TestDataType_numericId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_numeric] [numeric](18, 0) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_numericId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_numericId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_numeric.Table.sql
-- START dbo.TestDataType_nvarchar.Table.sql
/****** Object: Table [dbo].[TestDataType_nvarchar] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_nvarchar]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_nvarchar]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_nvarchar]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_nvarchar](
[TestDataType_nvarcharId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_nvarchar] [nvarchar](1) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_nvarcharId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_nvarcharId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_nvarchar.Table.sql
-- START dbo.TestDataType_real.Table.sql
/****** Object: Table [dbo].[TestDataType_real] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_real]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_real]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_real]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_real](
[TestDataType_realId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_real] [real] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_realId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_realId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_real.Table.sql
-- START dbo.TestDataType_smalldatetime.Table.sql
/****** Object: Table [dbo].[TestDataType_smalldatetime] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_smalldatetime]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_smalldatetime]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_smalldatetime]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_smalldatetime](
[TestDataType_smalldatetimeId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_smalldatetime] [smalldatetime] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_smalldatetimeId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_smalldatetimeId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_smalldatetime.Table.sql
-- START dbo.TestDataType_smallint.Table.sql
/****** Object: Table [dbo].[TestDataType_smallint] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_smallint]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_smallint]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_smallint]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_smallint](
[TestDataType_smallintId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_smallint] [smallint] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_smallintId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_smallintId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_smallint.Table.sql
-- START dbo.TestDataType_smallmoney.Table.sql
/****** Object: Table [dbo].[TestDataType_smallmoney] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_smallmoney]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_smallmoney]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_smallmoney]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_smallmoney](
[TestDataType_smallmoneyId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_smallmoney] [smallmoney] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_smallmoneyId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_smallmoneyId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_smallmoney.Table.sql
-- START dbo.TestDataType_sql_variant.Table.sql
/****** Object: Table [dbo].[TestDataType_sql_variant] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_sql_variant]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_sql_variant]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_sql_variant]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_sql_variant](
[TestDataType_sql_variantId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_sql_variant] [sql_variant] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_sql_variantId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_sql_variantId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_sql_variant.Table.sql
-- START dbo.TestDataType_text.Table.sql
/****** Object: Table [dbo].[TestDataType_text] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_text]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_text]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_text]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_text](
[TestDataType_textId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_text] [text] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_textId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_textId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
END
GO
-- END dbo.TestDataType_text.Table.sql
-- START dbo.TestDataType_timestamp.Table.sql
/****** Object: Table [dbo].[TestDataType_timestamp] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_timestamp]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_timestamp]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_timestamp]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_timestamp](
[TestDataType_timestampId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_timestamp] [timestamp] NOT NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_timestampId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_timestampId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_timestamp.Table.sql
-- START dbo.TestDataType_tinyint.Table.sql
/****** Object: Table [dbo].[TestDataType_tinyint] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_tinyint]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_tinyint]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_tinyint]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_tinyint](
[TestDataType_tinyintId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_tinyint] [tinyint] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_tinyintId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_tinyintId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_tinyint.Table.sql
-- START dbo.TestDataType_uniqueidentifier.Table.sql
/****** Object: Table [dbo].[TestDataType_uniqueidentifier] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_uniqueidentifier]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_uniqueidentifier]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_uniqueidentifier]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_uniqueidentifier](
[TestDataType_uniqueidentifierId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_uniqueidentifier] [uniqueidentifier] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_uniqueidentifierId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_uniqueidentifierId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_uniqueidentifier.Table.sql
-- START dbo.TestDataType_varbinary.Table.sql
/****** Object: Table [dbo].[TestDataType_varbinary] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_varbinary]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_varbinary]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_varbinary]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_varbinary](
[TestDataType_varbinaryId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_varbinary] [varbinary](1) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_varbinaryId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_varbinaryId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_varbinary.Table.sql
-- START dbo.TestDataType_varchar.Table.sql
/****** Object: Table [dbo].[TestDataType_varchar] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_varchar]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_varchar]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_varchar]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_varchar](
[TestDataType_varcharId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_varchar] [varchar](1) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_varcharId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_varcharId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_varchar.Table.sql
-- START dbo.TestDataType_xml.Table.sql
/****** Object: Table [dbo].[TestDataType_xml] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_xml]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_xml]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_xml]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_xml](
[TestDataType_xmlId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_xml] [xml] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_xmlId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_xmlId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_xml.Table.sql
-- START list.sql
-- START dbo.TestDataType_bigint.Table.sql
/****** Object: Table [dbo].[TestDataType_bigint] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_bigint]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_bigint]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_bigint]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_bigint](
[TestDataType_bigintId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_bigint] [bigint] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_bigintId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF,
ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_bigintId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF,
ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_bigint.Table.sql
-- START dbo.TestDataType_binary.Table.sql
/****** Object: Table [dbo].[TestDataType_binary] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_binary]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_binary]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_binary]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_binary](
[TestDataType_binaryId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_binary] [binary](1) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_binaryId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_binaryId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_binary.Table.sql
-- START dbo.TestDataType_bit.Table.sql
/****** Object: Table [dbo].[TestDataType_bit] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_bit]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_bit]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_bit]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_bit](
[TestDataType_bitId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_bit] [bit] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_bitId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_bitId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_bit.Table.sql
-- START dbo.TestDataType_char.Table.sql
/****** Object: Table [dbo].[TestDataType_char] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_char]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_char]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_char]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_char](
[TestDataType_charId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_char] [char](1) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_charId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_charId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_char.Table.sql
-- START dbo.TestDataType_datetime.Table.sql
/****** Object: Table [dbo].[TestDataType_datetime] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_datetime]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_datetime]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_datetime]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_datetime](
[TestDataType_datetimeId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_datetime] [datetime] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_datetimeId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_datetimeId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_datetime.Table.sql
-- START dbo.TestDataType_decimal.Table.sql
/****** Object: Table [dbo].[TestDataType_decimal] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_decimal]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_decimal]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_decimal]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_decimal](
[TestDataType_decimalId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_decimal] [decimal](18, 0) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_decimalId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_decimalId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_decimal.Table.sql
-- START dbo.TestDataType_float.Table.sql
/****** Object: Table [dbo].[TestDataType_float] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_float]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_float]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_float]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_float](
[TestDataType_floatId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_float] [float] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_floatId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_floatId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_float.Table.sql
-- START dbo.TestDataType_image.Table.sql
/****** Object: Table [dbo].[TestDataType_image] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_image]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_image]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_image]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_image](
[TestDataType_imageId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_image] [image] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_imageId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_imageId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
END
GO
-- END dbo.TestDataType_image.Table.sql
-- START dbo.TestDataType_int.Table.sql
/****** Object: Table [dbo].[TestDataType_int] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_int]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_int]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_int]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_int](
[TestDataType_intId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_int] [int] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_intId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_intId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_int.Table.sql
-- START dbo.TestDataType_money.Table.sql
/****** Object: Table [dbo].[TestDataType_money] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_money]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_money]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_money]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_money](
[TestDataType_moneyId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_money] [money] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_moneyId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_moneyId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_money.Table.sql
-- START dbo.TestDataType_nchar.Table.sql
/****** Object: Table [dbo].[TestDataType_nchar] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_nchar]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_nchar]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_nchar]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_nchar](
[TestDataType_ncharId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_nchar] [nchar](1) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_ncharId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_ncharId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_nchar.Table.sql
-- START dbo.TestDataType_ntext.Table.sql
/****** Object: Table [dbo].[TestDataType_ntext] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_ntext]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_ntext]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_ntext]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_ntext](
[TestDataType_ntextId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_ntext] [ntext] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_ntextId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_ntextId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
END
GO
-- END dbo.TestDataType_ntext.Table.sql
-- START dbo.TestDataType_numeric.Table.sql
/****** Object: Table [dbo].[TestDataType_numeric] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_numeric]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_numeric]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_numeric]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_numeric](
[TestDataType_numericId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_numeric] [numeric](18, 0) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_numericId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_numericId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_numeric.Table.sql
-- START dbo.TestDataType_nvarchar.Table.sql
/****** Object: Table [dbo].[TestDataType_nvarchar] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_nvarchar]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_nvarchar]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_nvarchar]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_nvarchar](
[TestDataType_nvarcharId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_nvarchar] [nvarchar](1) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_nvarcharId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_nvarcharId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_nvarchar.Table.sql
-- START dbo.TestDataType_real.Table.sql
/****** Object: Table [dbo].[TestDataType_real] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_real]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_real]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_real]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_real](
[TestDataType_realId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_real] [real] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_realId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_realId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_real.Table.sql
-- START dbo.TestDataType_smalldatetime.Table.sql
/****** Object: Table [dbo].[TestDataType_smalldatetime] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_smalldatetime]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_smalldatetime]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_smalldatetime]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_smalldatetime](
[TestDataType_smalldatetimeId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_smalldatetime] [smalldatetime] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_smalldatetimeId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_smalldatetimeId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_smalldatetime.Table.sql
-- START dbo.TestDataType_smallint.Table.sql
/****** Object: Table [dbo].[TestDataType_smallint] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_smallint]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_smallint]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_smallint]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_smallint](
[TestDataType_smallintId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_smallint] [smallint] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_smallintId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_smallintId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_smallint.Table.sql
-- START dbo.TestDataType_smallmoney.Table.sql
/****** Object: Table [dbo].[TestDataType_smallmoney] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_smallmoney]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_smallmoney]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_smallmoney]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_smallmoney](
[TestDataType_smallmoneyId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_smallmoney] [smallmoney] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_smallmoneyId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_smallmoneyId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_smallmoney.Table.sql
-- START dbo.TestDataType_sql_variant.Table.sql
/****** Object: Table [dbo].[TestDataType_sql_variant] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_sql_variant]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_sql_variant]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_sql_variant]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_sql_variant](
[TestDataType_sql_variantId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_sql_variant] [sql_variant] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_sql_variantId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_sql_variantId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_sql_variant.Table.sql
-- START dbo.TestDataType_text.Table.sql
/****** Object: Table [dbo].[TestDataType_text] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_text]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_text]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_text]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_text](
[TestDataType_textId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_text] [text] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_textId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_textId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
END
GO
-- END dbo.TestDataType_text.Table.sql
-- START dbo.TestDataType_timestamp.Table.sql
/****** Object: Table [dbo].[TestDataType_timestamp] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_timestamp]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_timestamp]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_timestamp]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_timestamp](
[TestDataType_timestampId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_timestamp] [timestamp] NOT NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_timestampId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_timestampId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_timestamp.Table.sql
-- START dbo.TestDataType_tinyint.Table.sql
/****** Object: Table [dbo].[TestDataType_tinyint] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_tinyint]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_tinyint]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_tinyint]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_tinyint](
[TestDataType_tinyintId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_tinyint] [tinyint] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_tinyintId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_tinyintId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_tinyint.Table.sql
-- START dbo.TestDataType_uniqueidentifier.Table.sql
/****** Object: Table [dbo].[TestDataType_uniqueidentifier] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_uniqueidentifier]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_uniqueidentifier]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_uniqueidentifier]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_uniqueidentifier](
[TestDataType_uniqueidentifierId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_uniqueidentifier] [uniqueidentifier] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_uniqueidentifierId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_uniqueidentifierId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_uniqueidentifier.Table.sql
-- START dbo.TestDataType_varbinary.Table.sql
/****** Object: Table [dbo].[TestDataType_varbinary] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_varbinary]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_varbinary]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_varbinary]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_varbinary](
[TestDataType_varbinaryId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_varbinary] [varbinary](1) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_varbinaryId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_varbinaryId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_varbinary.Table.sql
-- START dbo.TestDataType_varchar.Table.sql
/****** Object: Table [dbo].[TestDataType_varchar] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_varchar]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_varchar]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_varchar]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_varchar](
[TestDataType_varcharId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_varchar] [varchar](1) NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_varcharId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_varcharId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_varchar.Table.sql
-- START dbo.TestDataType_xml.Table.sql
/****** Object: Table [dbo].[TestDataType_xml] Script Date: 05/07/2010 21:17:29 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_xml]') AND type in (N'U'))
DROP TABLE [dbo].[TestDataType_xml]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id =
OBJECT_ID
(N'[dbo].[TestDataType_xml]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[TestDataType_xml](
[TestDataType_xmlId] [bigint] IDENTITY(1,1) NOT NULL,
[ColOfDataType_xml] [xml] NULL,
PRIMARY KEY CLUSTERED
(
[TestDataType_xmlId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[TestDataType_xmlId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,
IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
END
GO
-- END dbo.TestDataType_xml.Table.sql