Jump to content

Basic for-next loop in TDV


Paul Hammond

Recommended Posts

Is this what you mean

 

procedure basicForLoop()

begin

declare tables cursor for

select schema_name, table_name

from /services/databases/system/ALL_TABLES

where schema_name is not null

and table_name is not null;

 

for tab as tables do

call print(tab.schema_name || '.' || tab.table_name);

end for;

end

Link to comment
Share on other sites

  • 2 weeks later...
  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...