SQL Commands
SQL Commands
This part contains reference information for the SQL commands supported by Tacnode. By “SQL” the language in general is meant; information about the standards conformance and compatibility of each command can be found on the respective reference page.
Table of Contents
ABORT — abort the current transaction
ALTER DATABASE — change a database
ALTER DEFAULT PRIVILEGES — define default access privileges
ALTER EXTENSION — change the definition of an extension
ALTER FOREIGN DATA WRAPPER - change the definition of a foreign-data wrapper
ALTER FOREIGN TABLE - change the definition of a foreign table
ALTER MATERIALIZED VIEW — change the definition of a materialized view
ALTER POLICY - change the definition of a row-level security policy
ALTER SCHEMA — change the definition of a schema
ALTER SEQUENCE — change the definition of a sequence generator
ALTER SERVER — change the definition of a foreign server
ALTER TABLE — change the definition of a table
ALTER USER MAPPING — change the definition of a user mapping
ALTER VIEW — change the definition of a view
ANALYZE — collect statistics about a database
BEGIN — start a transaction block
CHECKPOINT — force a write-ahead log checkpoint
COMMENT — define or change the comment of an object
COMMIT — commit the current transaction
COPY — copy data between a file and a table
CREATE DATABASE — create a new database
CREATE EXTENSION — install an extension
CREATE FOREIGN DATA WRAPPER — define a new foreign-data wrapper
CREATE FOREIGN TABLE — define a new foreign table
CREATE MATERIALIZED VIEW — define a new materialized view
CREATE POLICY - define a new row-level security policy for a table
CREATE SCHEMA — define a new schema
CREATE SEQUENCE — define a new sequence generator
CREATE SERVER — define a new foreign server
CREATE TABLE — define a new table
CREATE TABLE AS — define a new table from the results of a query
CREATE USER MAPPING — define a new mapping of a user to a foreign server
CREATE VIEW — define a new view
DEALLOCATE — deallocate a prepared statement
DELETE — delete rows of a table
DISCARD — discard session state
DROP DATABASE — remove a database
DROP EXTENSION — remove an extension
DROP FOREIGN DATA WRAPPER — remove a foreign-data wrapper
DROP FOREIGN TABLE — remove a foreign table
DROP MATERIALIZED VIEW — remove a materialized view
DROP POLICY - remove a row-level security policy from a table
DROP SCHEMA — remove a schema
DROP SEQUENCE — remove a sequence
DROP SERVER — remove a foreign server descriptor
DROP TABLE — remove a table
DROP USER MAPPING — remove a user mapping for a foreign server
DROP VIEW — remove a view
END — commit the current transaction
EXECUTE — execute a prepared statement
EXPLAIN — show the execution plan of a statement
GRANT — define access privileges
IMPORT FOREIGN SCHEMA — import table definitions from a foreign server
INSERT — create new rows in a table
PREPARE — prepare a statement for execution
REASSIGN OWNED — change the ownership of database objects owned by a database role
REFRESH MATERIALIZED VIEW — replace the contents of a materialized view
REINDEX — rebuild indexes
RELEASE SAVEPOINT — destroy a previously defined savepoint
RESET — restore the value of a run-time parameter to the default value
REVOKE — remove access privileges
ROLLBACK — abort the current transaction
ROLLBACK TO SAVEPOINT — roll back to a savepoint
SAVEPOINT — define a new savepoint within the current transaction
SELECT — retrieve rows from a table or view
SELECT INTO — define a new table from the results of a query
SET — change a run-time parameter
SET ROLE — set the current user identifier of the current session
SET TRANSACTION — set the characteristics of the current transaction
SHOW — show the value of a run-time parameter
START TRANSACTION — start a transaction block
TRUNCATE — empty a table or set of tables
UPDATE — update rows of a table
VALUES — compute a set of rows
ABORT
No Description
ALTER DATABASE
No Description
ALTER DEFAULT PRIVILEGES
No Description
ALTER EXTENSION
No Description
ALTER FOREIGN DATA WRAPPER
No Description
ALTER FOREIGN TABLE
No Description
ALTER MATERIALIZED VIEW
No Description
ALTER POLICY
No Description
ALTER SCHEMA
No Description
ALTER SEQUENCE
No Description
ALTER SERVER
No Description
ALTER TABLE
No Description
ALTER USER MAPPING
No Description
ALTER VIEW
No Description
ANALYZE
No Description
BEGIN
No Description
CHECKPOINT
No Description
COMMENT
No Description
COMMIT
No Description
COPY
No Description
CREATE DATABASE
No Description
CREATE EXTENSION
No Description
CREATE FOREIGN DATA WRAPPER
No Description
CREATE FOREIGN TABLE
No Description
CREATE MATERIALIZED VIEW
No Description
CREATE POLICY
No Description
CREATE SCHEMA
No Description
CREATE SEQUENCE
No Description
CREATE SERVER
No Description
CREATE TABLE
No Description
CREATE TABLE AS
No Description
CREATE USER MAPPING
No Description
CREATE VIEW
No Description
DEALLOCATE
No Description
DELETE
No Description
DISCARD
No Description
DROP DATABASE
No Description
DROP EXTENSION
No Description
DROP FOREIGN DATA WRAPPER
No Description
DROP FOREIGN TABLE
No Description
DROP MATERIALIZED VIEW
No Description
DROP POLICY
No Description
DROP SCHEMA
No Description
DROP SEQUENCE
No Description
DROP SERVER
No Description
DROP TABLE
No Description
DROP USER MAPPING
No Description
DROP VIEW
No Description
END
No Description
EXECUTE
No Description
EXPLAIN
No Description
GRANT
No Description
IMPORT FOREIGN SCHEMA
No Description
INSERT
No Description
MERGE
No Description
PREPARE
No Description
REASSIGN OWNED
No Description
REFRESH MATERIALIZED VIEW
No Description
REINDEX
No Description
RELEASE SAVEPOINT
No Description
RESET
No Description
REVOKE
No Description
ROLLBACK
No Description
ROLLBACK TO SAVEPOINT
No Description
SAVEPOINT
No Description
SELECT
No Description
SELECT INTO
No Description
SET
No Description
SET ROLE
No Description
SET TRANSACTION
No Description
SHOW
No Description
START TRANSACTION
No Description
TRUNCATE
No Description
UPDATE
No Description
VALUES
No Description