what are %TYPE and %ROWTYPE? what is the difference?

Answer Posted / vikneswaran

%type is used to declare variable for one column in the table
%type is used to declare variable for entire table

Is This Answer Correct ?    7 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List different type of expressions with the example.

546


Write the alter statement to enable all the triggers on the t.students table.

665


explain about mysql and its features. : Sql dba

543


What is cursor and its types?

554


What is the use of partition by in sql?

514






Is time a data type in sql?

478


what are the system privileges that are required by a schema owner (user) to create a trigger on a table?

615


Why sql query is slow?

576


How to create your own reports in sql developer?

538


Can instead of triggers be used to fire once for each statement on a view?

534


what is meant by urlencode and urldocode? : Sql dba

598


what are the differences between char and nchar? : Sql dba

593


what is union? : Sql dba

580


How to create a menu in sqlplus or pl/sql?

609


how to convert character strings to dates? : Sql dba

523