Tool Export Table
Exports a table to a database via ODBC.
- Author: O.Conrad (c) 2008
- Menu: Database|ODBC|Tables
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Table | table, input | 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 |
Table Name | text | NAME | - | - |
Constraints | parameters | FLAGS | - | 0 Parameters:
|
If table exists... | choice | EXISTS | - | Available Choices: [0] abort export [1] replace existing table [2] append records, if table structure allows Default: 0 |
Command-line
Usage: saga_cmd db_odbc 6 [-ODBC_DSN <str>] [-ODBC_USR <str>] [-ODBC_PWD <str>] [-TABLE <str>] [-NAME <str>] [-EXISTS <str>]
-ODBC_DSN:<str> DSN
text, CMD
-ODBC_USR:<str> User
text, CMD
-ODBC_PWD:<str> Password
text, CMD
-TABLE:<str> Table
table, input
-NAME:<str> Table Name
text
-EXISTS:<str> If table exists...
choice
Available Choices:
[0] abort export
[1] replace existing table
[2] append records, if table structure allows
Default: 0