Paul Hammond Posted July 9, 2018 Share Posted July 9, 2018 I would like to see if someone has a basic for-next loop query for Tibco Data Virtualization. Link to comment Share on other sites More sharing options...
Svein Opsahl Posted July 11, 2018 Share Posted July 11, 2018 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 More sharing options...
Jeremy Akers 2 Posted July 24, 2018 Share Posted July 24, 2018 There are also several examples in the documentation. If you simply click Help -> Online Help in Studio, and do a search for "loop" you'll find tons of documentation and examples of the various kinds of loops available in TDV SQL Script. Link to comment Share on other sites More sharing options...
Deepak Kuletha Posted March 20, 2019 Share Posted March 20, 2019 Correct Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now