How to perform a loop through all tables in pl/sql?

Answer Posted / rahul name

We can use user_tables view of data dictionary.
create a cursor based on query
select * from user_tables and then use use this cursor
in for loop

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What action do you have to perform before retrieving data from the next result set of a stored procedure ?

2288


Which language is used in sql?

726


How many scalar data types are supported in pl/sql?

712


Inline the values in PL/SQL, what does it mean.?

851


What are the sql versions?

671






what is a database transaction? : Sql dba

820


What is a dynamic query?

759


What is an exception in pl/sql?

725


What are the 3 types of behavioral triggers?

940


What is sqlca in powerbuilder?

743


Is json a nosql?

723


Why is %isopen always false for an implicit cursor?

762


What is clustered index in sql?

782


Why do we use joins?

773


what is the difference between delete and truncate statement in sql? : Sql dba

757