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