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

Answer Posted / srikanth

%type can hold one perticular variable
%rowtype decalre total row declaration

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why left join is used in sql?

509


How to create your own reports in sql developer?

526


What is recursive stored procedure?

589


What is the difference between functions, procedures, and packages in pl/sql?

473


Why is sql*loader direct path so fast?

588






Can we create index on primary key?

513


Is pl sql and postgresql same?

557


What is dynamic query?

528


Which operator is used in query for pattern matching?

615


What is the difference between having and a where in sql?

561


What are all the ddl commands?

614


Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

1709


Does execute immediate commit?

679


What is cascade in sql?

545


How do you know if a relationship is 2nf?

508