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 | Password | - |
Port | Integer, CMD | PG_PORT | - | Minimum: 0 Default: 5432 |
Database | Text, CMD | PG_NAME | Database Name | - |
User | Text, CMD | PG_USER | User Name | - |
Password | Text, CMD | PG_PWD | Password | - |
Available 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
-PG_PORT:<num> Port
Integer, 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