How would the developer define this variable using referential datatypes?
Submitted by: AdministratorA developer would like to use referential datatype declaration on a variable. The variable name is EMPLOYEE_LASTNAME, and the corresponding table and column is EMPLOYEE, and LNAME, respectively. How would the developer define this variable using referential datatypes?
1. Use employee.lname%type.
2. Use employee.lname%rowtype.
3. Look up datatype for EMPLOYEE column on LASTNAME table and use that.
4. Declare it to be type LONG.
Submitted by: Administrator
1. Use employee.lname%type.
2. Use employee.lname%rowtype.
3. Look up datatype for EMPLOYEE column on LASTNAME table and use that.
4. Declare it to be type LONG.
Submitted by: Administrator
Read Online SQL Job Interview Questions And Answers
Top SQL Questions
☺ | Under which circumstance must you recompile the package body after recompiling the package specification? |
☺ | What is sql Posting? |
☺ | For which trigger timing can you reference the NEW and OLD qualifiers? |
☺ | The command used to open a CURSOR FOR loop is? |
☺ | What occurs if a procedure or function terminates with failure without being handled? |
Top Databases Programming Categories
☺ | RDBMS Interview Questions. |
☺ | SQL Interview Questions. |
☺ | SSRS Interview Questions. |
☺ | Sybase Interview Questions. |
☺ | Database Administrator (DBA) Interview Questions. |