A. It releases the storage space used by the table.
B. It does not release the storage space used by the table.
C. You can roll back the deletion of rows after the statement executes.
D. You can NOT roll back the deletion of rows after the statement executes.
E. An attempt to use DESCRIBE on the DEPT table after the TRUNCATE statement executes will display an error.
F. You must be the owner of the table or have DELETE ANY TABLE system privileges to truncate the DEPT table
第1题:
7、Statement对象提供了执行基本SQL语句的功能。
第2题:
()接口继承了Statement接口,用来执行预编译的SQL语句。
第3题:
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
第4题:
下列选项中,关于Statement描述错误的是()
A.Statement是用来执行SQL语句的
B.Statement是PreparedStatement的子接口
C.获取Statement实现需要使用Connection的createStatement()方法
D.PreparedStatement能使用参数占位符,而Statement不行
第5题:
Statement对象本身包含SQL语句。
第6题:
1、写出Java程序中用Statement来执行sql查询与更新语句。