Which of the following code fragments correctly creates a record data type that will hold four variables?
A) DECLARE
TYPE type_basket IS RECORD (
Basket bb_basket.idBasket %TYPE,
Created bb_basket.dtcreated%TYPE,
Sub bb_basket.subtotal %TYPE) ;
Rec_basket type_basket;
BEGIN
--- executable code ---
END;
B) DECLARE
TYPE type_basket IS RECORD (
Basket bb_basket.idBasket%TYPE,
Created bb_basket.dtcreated%TYPE,
Qty bb_basket.quantity%TYPE,
Sub bb_basket.subtotal%TYPE;
Rec_basket type_basket;
BEGIN
--- executable code ---
END;
C) DECLARE
TYPE type_basket IS RECORD (
Bb_basket.dtcreated%TYPE
Qty bb_basket.quantity%TYPE,
Sub bb_basket.subtotal%TYPE) ;
Rec_basket type_basket;
BEGIN
--- executable code ---
END;
D) DECLARE
TYPE type_basket IS RECORD (
Basket bb_basket.idBasket%TYPE,
Created bb_basket.dtcreated%TYPE,
Qty bb_basket.quantity%TYPE,
Sub bb_basket.subtotal%TYPE ) ;
Rec_basket type_basket;
BEGIN
--- executable code ---
END;
Correct Answer:
Verified
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
Q32: Which of the following code fragments tells
Q33: Which of the following attributes is available
Q35: Declaring an associative array data type is
Q36: A(n) _ can store and handle multiple
Q37: Which of the following is sometimes called
Q38: Which of the following associative array attributes
Q39: _ are functions that can be used
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