フリー問題

Oracle Database Program with PL/SQL のフリー問題 3 / 20 問目

問題文

A variable is declared with the %TYPE attribute against a column of a table, and the column carries a not null constraint and a default value. Which description of what the variable takes from that column is correct?

選択肢

  1. It takes nothing from the column while the block runs, it fixes the data type at the moment of compilation, and it keeps that type even after the column of the table is altered.
  2. It takes the data type and the size of the column, it also takes the default value that the column declares, and it starts out holding that default value when the block begins.
  3. It takes the data type and the size of the column, it leaves the not null constraint of the column behind, and it starts out as null unless the declaration assigns a value.
  4. It takes the size of the column but not the data type, it takes the check condition written on the column, and it starts at the value held in the first row of the table.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。