1. 程式人生 > >OCP-1Z0-051-V9.02-20題

OCP-1Z0-051-V9.02-20題

20. Which three statements are true regarding the data types in Oracle Database 10g/11g? (Choose

three.)

A. Only one LONG column can be used per table.

B. A TIMESTAMP data type column stores only time values with fractional seconds. 

C. The BLOB data type column is used to store binary data in an operating system file.

D. The minimum column width that can be specified for a VARCHAR2 data type column is one.

E. The value for a CHAR data type column is blank-padded to the maximum defined column width.

Answer: ADE

答案解析:

準則 • 在使用子查詢建立表時不復制LONG列。 • 不能在GROUP BY或ORDER BY子句中包括LONG列。 • 每個表只能使用一個LONG列。 • 不能對LONG列定義約束條件。 • 可以要求使用CLOB列,而不是LONG列。 A. 每個表中只能使用一個LONG列。正確 B. 一個TIMESTAMP資料型別列只能儲存帶有小數秒的時間值。錯誤,也可以儲存不帶小數秒的日期或時間 C. BLOB資料型別列被用於儲存二進位制資料的作業系統檔案。錯誤,不是作業系統檔案。 D. 對於VARCHAR2資料型別最小的列寬可以為1(VARCHAR2為可變長度的資料型別). E. CHAR資料型別列的值是用空格填充到列定義的最大值(也就是說,如果定義了CHAR(20),而字串長度不夠20個,則用空格填充不夠的位數,CHAR為固定長度資料型別)