Quantcast
Channel: Toad for SAP Solutions
Viewing all articles
Browse latest Browse all 695

Wiki Page: Multiple-Database Query

$
0
0
Multiple Database Query It is possible to run a SQL query to a large number of databases/connections. You can use the wizard to select multiple databases, to enter multiple SQL queries, and to format/highlight the results based on criteria you specify. Select Tools | Query Multiple Databases to build a SQL query across multiple databases. Database version or custom conditions can be specified for queries in Multiple Database Query SQL Editor. Click Add to write a new query. A popup shows after clicking the query where conditions can be specified. When the database fulfils the conditional criteria the query is executed. The conditions are tried in the top-down order, i.e. if the first condition is true then the SQL statement is executed and no other conditions are tried on this connection. Following types of conditions can be specified: Min/max Minimum, maximum version or both can be selected here for databases. The query entered to the right part of the window is run only on databases that fulfil the condition. Custom The query entered to the right hand window is run only on databases that fulfil the specified custom condition. Default The query entered to the right hand window is run on all databases. Note: Preview Connection type defines the desired connection for preview as well as for AutoCompletion of SQL queries in the Query Editor .

Viewing all articles
Browse latest Browse all 695

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>