SQL Commands Flashcards
ABORT
abort the current transaction
ALTER AGGREGATE
change the definition of an aggregate function
ALTER COLLATION
change the definition of a collation
ALTER CONVERSION
change the definition of a conversion
ALTER DATABASE
change a database
ALTER DEFAULT PRIVILEGES
define default access privileges
ALTER DOMAIN
change the definition of an extension
ALTER EVENT TRIGGER
change the definition of an event trigger
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 FUNCTION
change the definition of a function
ALTER GROUP
change role name or membership
ALTER INDEX
change the definition of an index
ALTER LANGUAGE
change the definition of a procedural language
ALTER LARGE OBJECT
change the definition of a large object
ALTER MATERIALIZED VIEW
change the definition of a materialized view
ALTER OPERATOR
change the definition of an operator
ALTER OPERATOR CLASS
change the definition of an operator class
ALTER OPERATOR FAMILY
change the definition of an operator family
ALTER POLICY
change the definition of a row-level security policy
ALTER PROCEDURE
change the definition of a procedure
ALTER PUBLICATION
change the definition of a publication
ALTER ROLE
change a database role
ALTER ROUTINE
change the definition of a routine`
ALTER RULE
change the definition of a rule
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 STATISTICS
change the definition of an extended statistics object
ALTER SUBSCRIPTION
change the definition of a subscription
ALTER SYSTEM
change a server configuration parameter
ALTER TABLE
change the definition of a table
ALTER TABLESPACE
change the definition of a tablespace
ALTER TEXT SEARCH CONFIGURATION
change the definition of a text search configuration
ALTER TEXT SEARCH DICTIONARY
change the definition of a text search dictionary
ALTER TEXT SEARCH PARSER
change the definition of a text search parser
ALTER TEXT SEARCH TEMPLATE
change the definition of a text search template
ALTER TRIGGER
change the definition of a trigger
ALTER TYPE
change the definition of a type
ALTER USER
change a database role
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
CALL
invoke a procedure
CHECKPOINT
force a write-ahead log checkpoint
CLOSE
close a cursor