Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Possible to connect/loop through databases using iSQL?

$
0
0
Hi,

I'm working with servers connected on Sybase Central (SQL Anywhere 11). I'm connected to a few DBs, and there's a query I want to get from each one. I have the SQL code so that I can output the query, but is there a way I can loop through the DBs so that I output the query from each DB into one file? My main concern is connecting/looping through each DB, not how can I get the output. I know you can use CONNECT USING '[connection_string]'. Any steps from there, or is there another way to approach this?

Thanks!

Viewing all articles
Browse latest Browse all 13329

Trending Articles