Tool Import Table from SQL Query (GUI)
Import a SQL table from a PostgreSQL database.
- Author: O.Conrad (c) 2017
- Menu: Database|PostgreSQL|Tables
Parameters
| | Name | Type | Identifier | Description | Constraints |
| Output | Query Result | table, output | TABLE | - | - |
| Options | Host | text, CMD | PG_HOST | - | Default: 127.0.0.1 |
| Port | integer number, CMD | PG_PORT | - | Minimum: 0 Default: 5432 |
| Database | text, CMD | PG_NAME | - | - |
| User | text, CMD | PG_USER | - | - |
| Password | text, CMD | PG_PWD | - | - |
| Connections | choice, GUI | CONNECTION | - | Available Choices: Default: 0 |
| Tables | parameters | TABLES | - | 0 Parameters:
|
| Fields | parameters | FIELDS | - | 0 Parameters:
|
| Where | text | WHERE | - | - |
| Group by | parameters | GROUP | - | 0 Parameters:
|
| Having | text | HAVING | - | - |
| Order by | text | ORDER | - | - |
| Distinct | boolean | DISTINCT | - | Default: 0 |
Command-line
Usage: saga_cmd db_pgsql 16 [-PG_HOST <str>] [-PG_PORT <num>] [-PG_NAME <str>] [-PG_USER <str>] [-PG_PWD <str>] [-TABLE <str>] [-WHERE <str>] [-HAVING <str>] [-ORDER <str>] [-DISTINCT <str>]
-PG_HOST:<str> Host
text, CMD
Default: 127.0.0.1
-PG_PORT:<num> Port
integer number, CMD
Minimum: 0
Default: 5432
-PG_NAME:<str> Database
text, CMD
-PG_USER:<str> User
text, CMD
-PG_PWD:<str> Password
text, CMD
-TABLE:<str> Query Result
table, output
-WHERE:<str> Where
text
-HAVING:<str> Having
text
-ORDER:<str> Order by
text
-DISTINCT:<str> Distinct
boolean
Default: 0