Tool Import Table from SQL Query
Import a SQL table from a database via ODBC.
- Author: O.Conrad (c) 2008
- Menu: Database|ODBC|Tables
Parameters
| Name | Type | Identifier | Description | Constraints |
Output | Table from SQL Query | table, output | TABLE | - | - |
Options | DSN | text, CMD | ODBC_DSN | Data Source Name | - |
User | text, CMD | ODBC_USR | User Name | - |
Password | text, CMD | ODBC_PWD | Password | - |
Server Connection | choice, GUI | CONNECTION | Server Connection | Available Choices: Default: 0 |
Tables | text | TABLES | - | - |
Fields | text | FIELDS | - | Default: * |
Where | text | WHERE | - | - |
Group by | text | GROUP | - | - |
Having | text | HAVING | - | - |
Order by | text | ORDER | - | - |
Distinct | boolean | DISTINCT | - | Default: 0 |
Command-line
Usage: saga_cmd db_odbc 8 [-ODBC_DSN <str>] [-ODBC_USR <str>] [-ODBC_PWD <str>] [-TABLE <str>] [-TABLES <str>] [-FIELDS <str>] [-WHERE <str>] [-GROUP <str>] [-HAVING <str>] [-ORDER <str>] [-DISTINCT <str>]
-ODBC_DSN:<str> DSN
text, CMD
-ODBC_USR:<str> User
text, CMD
-ODBC_PWD:<str> Password
text, CMD
-TABLE:<str> Table from SQL Query
table, output
-TABLES:<str> Tables
text
-FIELDS:<str> Fields
text
Default: *
-WHERE:<str> Where
text
-GROUP:<str> Group by
text
-HAVING:<str> Having
text
-ORDER:<str> Order by
text
-DISTINCT:<str> Distinct
boolean
Default: 0