Welcome to my blog! Here you'll find an Oracle Applications and Software Testing.
Pages
About Me
Services
Contact Us
Sitemap
Friday, December 29, 2017
PL/SQL %TYPE and %ROWTYPE – Usage, Differences, and Examples Explained
%TYPE is used to declare a variable that is of the same type as a specified table’s column.
example: Emp_number emp.empno%type;
%ROWTYPE is used to declare a record (the variable that represents the entire row of a table).
example: Emp_record emp%rowtype;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
💬
No comments:
Post a Comment