📄 exp_013.htm
字号:
<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 013: </span></b></p>
<p>
<span style="font-size:18pt">This statement provides correct syntax to add a primary key on the STUDENT_ID column of the STUDENT table. <br>
</span></p>
<p>
<span style="font-size:18pt">Incorrect Answers <br>
</span></p>
<p>
<span style="font-size:18pt">A: This ALTER TABLE statement is missing CONSTRAINT keyword and the name of the constraint. <br>
</span></p>
<p>
<span style="font-size:18pt">B: This ALTER TABLE statement is missing the name of the constraint. <br>
</span></p>
<p>
<span style="font-size:18pt">C: It's incorrect syntax in the ALTER TABLE command: STUDENT_ID must be used with brackets. <br>
</span></p>
<p>
<span style="font-size:18pt">E: We need to add constraint, not to modify existing one. Usage of the MODIFY keyword is incorrect in this case. <br>
</span></p>
<p>
<span style="font-size:18pt">OCP Introduction to Oracle 9i: SQL Exam Guide, Jason Couchman, p. 239-240 <br>
</span></p>
<p>
<span style="font-size:18pt">Chapter 5: Creating Oracle Database Objects
</span></p>
<br>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -