Which of the following code fragments tells the system to look up the data type of a database column and use it for the declared variable?
A) DECLARE
Order NUMBER(2) := 4;
Total_amt NUMBER(2) ;
BEGIN
--- executable code ---
END;
B) DECLARE
Order.quantity%TYPE;
Total_amt NUMBER(2) ;
BEGIN
--- executable code ---
END;
C) DECLARE
Order.quantity#TYPE;
Total_amt NUMBER(2) ;
BEGIN
--- executable code ---
END;
D) DECLARE
Order CONSTANT NUMBER(2) := 4;
Total_amt NUMBER(2) ;
BEGIN
--- executable code ---
END;
Correct Answer:
Verified
Q27: One major advantage of using _ as
Q28: DECLARE TYPE type_basket IS RECORD(
Basket bb_basket.idBasket%TYPE,
Created bb_basket.dtcreated%TYPE,
Total
Q29: tbl_basketitems(5).idproduct := :g_prod; According to the above
Q30: The UPDATE statement is sometimes called a
Q31: Which of the following allows a table
Q33: Which of the following attributes is available
Q34: Which of the following code fragments correctly
Q35: Declaring an associative array data type is
Q36: A(n) _ can store and handle multiple
Q37: Which of the following is sometimes called
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents