直接在 SQLQuery 执行下就好了。
CREATE TYPE [dbo].[D_bigint(8)] FROM [bigint] NULL
CREATE TYPE [dbo].[D_bit] FROM [bit] NULL
CREATE TYPE [dbo].[D_datetime(8)] FROM [datetime] NULL
CREATE TYPE [dbo].[D_int(4)] FROM [int] NULL
CREATE TYPE [dbo].[D_text] FROM [text] NULL
CREATE TYPE [dbo].[D_varchar(10)] FROM [varchar](10) NULL
CREATE TYPE [dbo].[D_varchar(50)] FROM [varchar](50) NULL
CREATE TYPE [dbo].[D_varchar(100)] FROM [varchar](100) NULL
CREATE TYPE [dbo].[D_varchar(225)] FROM [varchar](225) NULL
CREATE TYPE [dbo].[D_varchar(2000)] FROM [varchar](2000) NOT NULL
CREATE TYPE [dbo].[D_nvarchar(50)] FROM nvarchar(50) NOT NULL
CREATE TYPE [dbo].[D_nvarchar(100)] FROM nvarchar(100) NOT NULL
CREATE TYPE [dbo].[D_nvarchar(225)] FROM nvarchar(225) NOT NULL
CREATE TYPE [dbo].[D_nvarchar(2000)] FROM nvarchar(2000) NOT NULL
分类:
SQL
本文转自左正博客园博客,原文链接:http://www.cnblogs.com/soundcode/archive/2012/09/18/2690074.html
,如需转载请自行联系原作者