Friday, November 23, 2007

SQL Keywords and Descriptions

Code

Description

ABORT
Aborts the current transaction
ALTER TABLEModifies table properties
ALTER USERModifies user account information
BEGIN WORKBegins a transaction
CLOSEClose a cursor
CLUSTERGives storage clustering advice to the backend
COMMITCommits the current transaction
COPYCopies data between files and tables
CREATE AGGREGATEDefines a new aggregate function
CREATE DATABASECreates a new database
CREATE FUNCTIONDefines a new function
CREATE INDEXConstructs a secondary index
CREATE LANGUAGEDefines a new language for functions
CREATE OPERATORDefines a new user operator
CREATE RULEDefines a new rule
CREATE SEQUENCECreates a new sequence number generator
CREATE TABLECreates a new table
CREATE TABLE ASCreates a new table
CREATE TRIGGERCreates a new trigger
CREATE TYPEDefines a new base data type
CREATE USERCreates account information for a new user
CREATE VIEWConstructs a virtual table
DECLAREDefines a cursor for table access
DELETEDeletes rows from a table
DROP AGGREGATERemoves the definition of an aggregate function
DROP DATABASEDestroys an existing database
DROP FUNCTIONRemoves a user-defined C function
DROP INDEXRemoves an index from a database
DROP LANGUAGERemoves a user-defined procedural language
DROP OPERATORRemoves an operator from the database
DROP RULERemoves an existing rule from the database
DROP SEQUENCERemoves an existing sequence
DROP TABLERemoves existing tables from a database
DROP TRIGGERRemoves the definition of a trigger
DROP TYPERemoves a user-defined type from the system catalogs
DROP USERRemoves an user account information
DROP VIEWRemoves an existing view from a database
EXPLAINShows statement execution details
FETCHGets rows using a cursor
GRANTGrants access privilege to a user, a group or all users
INSERTInserts new rows into a table
LISTENListen for notification on a notify condition
LOADDynamically loads an object file
LOCKExplicit lock of a table inside a transaction
MOVEMoves cursor position
NOTIFYSignals all frontends and backends listening on a notify condition
RESETRestores run-time parameters for session to default values
REVOKE
Revokes access privilege from a user, a group or all users.
ROLLBACKAborts the current transaction
SELECTRetrieve rows from a table or view
SELECT INTOCreate a new table from an existing table or view
SETSet run-time parameters for session
SHOWShows run-time parameters for session
UNLISTENStop listening for notification
UPDATEReplaces values of columns in a table

No comments: