SQL Service自定义数据类型

直接在 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

posted @ 2012-09-18 09:43  左正  阅读(199)  评论(0编辑  收藏  举报