gsql --help
The following information is displayed:
...... Usage: gsql [OPTION]... [DBNAME [USERNAME]] General options: -c, --command=COMMAND run only single command (SQL or internal) and exit -d, --dbname=DBNAME database name to connect to (default: "postgres") -f, --file=FILENAME execute commands from file, then exit ......
help
The following information is displayed:
You are using gsql, the command-line interface to gaussdb. Type: \copyright for distribution terms \h for help with SQL commands \? for help with gsql commands \g or terminate with semicolon to execute query \q to quit
Description |
Example |
||||
---|---|---|---|---|---|
View copyright information. |
\copyright |
||||
View the help information about SQL statements supported by GaussDB(DWS). |
View the help information about SQL statements supported by GaussDB(DWS). For example, view all SQL statements supported by GaussDB(DWS).
For example, view parameters of the CREATE DATABASE command:
|
||||
View help information about gsql commands. |
For example, view commands supported by gsql.
|