Module Export Table
Exports a table to a database via ODBC.
- Author: O.Conrad (c) 2008
- Specification: grid
- Menu: Database|ODBC|Tables
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Table | Table (input) | TABLE | - | - |
Options | DSN | Text | ODBC_DSN | Data Source Name | - |
User | Text | ODBC_USR | User Name | - |
Password | Text | ODBC_PWD | Password | - |
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
-ODBC_USR:<str> User
Text
-ODBC_PWD:<str> Password
Text
-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