SAGA 9.6.1 | Tool Library Documentation

Import Table from Query


Description

Import a table from a database through ODBC via SQL query. > SELECT [DISTINCT|ALL] 'Fields' FROM 'Tables' WHERE 'Where' [GROUP BY 'Group' [HAVING 'Having']] [ORDER BY 'Order']


Parameters

 NameTypeIdentifierDescriptionConstraints
OutputTabletable, outputTABLE--
OptionsData SourcetextODBC_DSN--
UsertextODBC_USR--
PasswordtextODBC_PWD--
TablestextTABLES--
FieldstextFIELDS-Default: *
WheretextWHERE--
GrouptextGROUP--
HavingtextHAVING--
OrdertextORDER--
DistinctbooleanDISTINCT-Default: 0

Command Line


Usage: saga_cmd db_odbc 8 [-ODBC_DSN ] [-ODBC_USR ] [-ODBC_PWD ] [-TABLE ] [-TABLES ] [-FIELDS ] [-WHERE ] [-GROUP ] [-HAVING ] [-ORDER ] [-DISTINCT ]
  -ODBC_DSN:	Data Source
	text
  -ODBC_USR:	User
	text
  -ODBC_PWD:	Password
	text
  -TABLE:   	Table
	table, output
  -TABLES:  	Tables
	text
  -FIELDS:  	Fields
	text
	Default: *
  -WHERE:   	Where
	text
  -GROUP:   	Group
	text
  -HAVING:  	Having
	text
  -ORDER:   	Order
	text
  -DISTINCT:	Distinct
	boolean
	Default: 0