热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

SQL 面试题与答案

Test your skills through the online practice test: SQL Quiz Online Practice Test

问题 116. What is ON DELETE CASCADE?

When ON DELETE CASCADE is specified Oracle maintains referential integrity by automatically removing dependent foreign key values if a referenced primary or unique key value is removed.

这有帮助吗? 添加评论 查看评论
 

问题 117. What are the data types allowed in a table?

CHAR, VARCHAR2, NUMBER, DATE, RAW, LONG and LONG RAW.

这有帮助吗? 添加评论 查看评论
 

问题 118. What is difference between CHAR and VARCHAR2? What is the maximum SIZE allowed for each type?

CHAR pads blank spaces to the maximum length.
VARCHAR2 does not pad blank spaces.
For CHAR the maximum length is 255 and 2000 for VARCHAR2.

这有帮助吗? 添加评论 查看评论
 

问题 119. How many LONG columns are allowed in a table? Is it possible to use LONG columns in WHERE clause or ORDER BY?

Only one LONG column is allowed. It is not possible to use LONG column in WHERE or ORDER BY clause.

这有帮助吗? 添加评论 查看评论
 

问题 120. What are the pre-requisites to modify datatype of a column and to add a column with NOT NULL constraint?

To modify the datatype of a column the column must be empty.
- To add a column with NOT NULL constrain, the table must be empty.

这有帮助吗? 添加评论 查看评论
 

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。