exp_022.htm

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

HTM
39
字号
<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 022: &nbsp;</span></b></p>

<span style="font-size:18pt">
	<p>
	Result will be 0. MOD(x,y) function calculates the modulus of x, defined in long division as the integer remainder when x is divided by y until no further whole number can be produced. TRUNC() function truncates x to the decimal precision of y. ROUND(x,y) rounds x to the decimal precision of y. <br>
	</p>

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

	<p>
	  B: Result will be 0, not 1. <br>
	</p>

	<p>
	  C: Result will be 0, not 0.00 because MOD(1600,10) return 0 and all other functions (TRUNC and ROUND) return 0 also. <br>
	</p>

	<p>
	  D: There is no error in this statement. <br>
	</p>

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

	<p>
	  Chapter 2: Limiting, Sorting, and Manipulating Return Data
	</p>

</span>
<br>

⌨️ 快捷键说明

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