陈斌彬的技术博客

Stay foolish,stay hungry

Sql 2008创建表中: SET ANSI_NULLS on GO 这个是什么意思来的?

SET QUOTED_IDENTIFIER ON
GO
这个又是什么意思?

CREATE TABLE [dbo].[Login](
[user_name] [nvarchar](50) NOT NULL,
[pass_word] [nvarchar](50) NULL,
[faculty_id] [nvarchar](50) NULL,
[student_id] [nvarchar](50) NULL,
 CONSTRAINT [PK_Login] PRIMARY KEY CLUSTERED 
(
[user_name] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]
中的
 CONSTRAINT [PK_Login] PRIMARY KEY CLUSTERED 
(
[user_name] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]是有什么意思,有什么作用的?

SET QUOTED_IDENTIFIER ON查询分析器中ON不显示返回影响多少行OFF 显示