SAGA-GIS Module Library Documentation (v2.2.3)

Module Export Table

Exports a table to a database via ODBC.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputTableTable (input)TABLE--
OptionsDSNTextODBC_DSNData Source Name-
UserTextODBC_USRUser Name-
PasswordTextODBC_PWDPassword-
Server ConnectionChoiceCONNECTIONServer ConnectionAvailable Choices:
[0]
Default: 0
Table NameTextNAME--
ConstraintsParametersFLAGS-0 Parameters:
If table exists...ChoiceEXISTS-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