exp_015.htm

来自「oracle DBA的资料」· HTM 代码 · 共 50 行

HTM
50
字号
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<title>Ocp test </title>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<p><b><span style="font-size:22pt">Explaination 015: &nbsp;</span></b></p>

<span style="font-size:18pt">
	<p>
	It will be error generated because there are 2 child records in the EMPLOYEES table with department number you try to delete from the DEPARTMENTS table. <br>
	</p>

	<p>
	  Incorrect Answers <br>
	</p>

	<p>
	  A: The row with department ID 40 will not be deleted because of the child records in the EMPLOYEES table. <br>
	</p>

	<p>
	  C: Neither the row with department ID 40 will not be deleted not child records in the EMPLOYEES table will be deleted. <br>
	</p>

	<p>
	  D: It will be error when you try to execute the DELETE statement, no rows will be deleted in the EMPLOYEES or the DEPARTMENTS tables. <br>
	</p>

	<p>
	  E: It will be error when you try to execute the DELETE statement, no rows will be deleted in the EMPLOYEES or the DEPARTMENTS tables. <br>
	</p>

	<p>
	  F: The statement fails because of constraint violation not because there are no columns specifies in the DELETE clause of the DELETE statement. <br>
	</p>

	<p>
	  OCP Introduction to Oracle 9i: SQL Exam Guide, Jason Couchman, p. 240-245 <br>
	</p>

	<p>
	  Chapter 5: Creating Oracle Database Objects
	</p>

</span>

</body>
</html>
<br>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?