单项选择题
以下代码能输出"OK"的代码是()
A.declare @num nvarchar(10)@num =‘OK’Print @num
B.declare @num nvarchar(10)@num =‘OK’Select @num
C.If(true )Print ‘OK’
D.If(1=1)Select ‘OK’
点击查看答案&解析
相关考题
-
单项选择题
已知有student表,studentid为主键,现在表中共有10行记录,studentid列值从1到10。创建试图:CREATE VIEW dbo.VIEW_studentASSELECT * FROM dbo.studentGO接着执行如下命令:DELETE FROM VIEW_student WHERE (studentid = 8);然后执行查询命令:SELECT * FROM student;SELECT * FROM VIEW_student;假定上述命令全部执行成功,将各自返回()行记录。
A.10,10
B.10,9
C.9,10
D.9,9 -
单项选择题
已知employee表中具有默认约束df_email,删除该约束的语句为()
A.Alter table employee drop constraint df_email
B.Alter table employee remove constraint df_email
C.Alter table employee delete constraint df_email
D.Remove constraint df_email from table employee -
单项选择题
一个表中最多有()个非聚集索引。
A.32
B.64
C.127
D.249