鸿 网 互 联 www.68idc.cn

当前位置 : 服务器租用 > 数据库 > mssql > >

SQL Service自定义数据类型

来源:互联网 作者:佚名 时间:2013-06-29 10:07
直接在 SQLQuery 执行下就好了。 CREATE TYPE [dbo].[D_bigint( 8 )] FROM [bigint] NULLCREATE TYPE [dbo].[D_bit] FROM [bit] NULLCREATE TYPE [dbo].[D_datetime( 8 )] FROM [datetime] NULLCREATE TYPE [dbo].[D_int( 4 )] FROM [ int ] NULLCREATE TYPE

直接在 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 ,香港服务器租用香港虚拟主机虚拟主机

网友评论
<