Which of the following is the correct syntax of creating Object?

Options
- CREATE Or Replace TYPE AddressType AS OBJECT
- CREATE Or Replace TYPE AddressType AS OBJECT (street VARCHAR2(15), city VARCHAR2(15), state CHAR(2), zip VARCHAR2(5) );
- CREATE AddressType AS OBJECT (street VARCHAR2(15), city VARCHAR2(15), state CHAR(2), zip VARCHAR2(5) );
- None of the Above


CORRECT ANSWER : CREATE Or Replace TYPE AddressType AS OBJECT (street VARCHAR2(15), city VARCHAR2(15), state CHAR(2), zip VARCHAR2(5) );

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement