欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

SQL Service自定义数据类型

程序员文章站 2022-05-30 20:40:29
...

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