A. Column definitions cannot be altered to add DEFAULT values.
B. A change to the DEFAULT value affects only subsequent insertions to the table.
C. Column definitions cannot be altered at add DEFAULT values for columns with a NUMBER data type.
D. All the rows that have a NULL value for the SALARY column will be updated with the value 5000.
第1题:
为“成绩”表中“总分”字段增加有效性规则:“总分必须大于等于。并且小于等于750”,正确的SQL语句是:
【14】TABLE成绩ALTER总分
第2题:
下列选项中,关于Statement描述错误的是()
A.Statement是用来执行SQL语句的
B.Statement是PreparedStatement的子接口
C.获取Statement实现需要使用Connection的createStatement()方法
D.PreparedStatement能使用参数占位符,而Statement不行
第3题:
下列选项中,关于Statement描述错误的是()
A.Statement是用来执行SQL语句的
B.Statement是PreparedStatement的子接口
C.获取Statement实现需要使用Connection的createStatement()方法
D.PreparedStatement能使用参数占位符,而Statement不行
第4题:
( 14 )为 “ 成绩 ” 表中 “ 总分 ” 字段增加有效性规则: “ 总分必须大于等于 0 并且小 于 等于 750 ” ,正确的 SQL 语句是:【 14 】 TABLE 成绩 ALTER 总分 【 15 】 总分 >=0 AND 总分 <=750
第5题:
【单选题】对于建立在数据库上的DDL触发器,常用的激活DDL触发器的事件不包括()
A.Create_Table,Alter_Table,Drop_Table
B.Create_View,Alter_View,Drop_View
C.Create_Procedure,Alter_Procedure,Drop_Procedure
D.Rollback
第6题:
3.下列选项中,关于Statement描述错误的是() A: Statement是用来执行SQL语句的 B: Statement是PreparedStatement的子接口 C: 获取Statement实现需要使用Connection的createStatement()方法 D: PreparedStatement能使用参数占位符,而Statement不行
A.A B C D
B.A B C D
C.A B C D
D.A B C D