All SQL statements ( sql_statement) can be embedded in programming languages. For more information, see the precompiler documentation. All SQL statements, with the exception of NEXT STAMP, can be specified interactively.
Comments can be specified for every SQL statement. Example statements have been formulated, using the example tables, for many SQL statements.
SQL statements for data definition
CREATE TABLE statement |
DROP TABLE statement |
ALTER
TABLE statement |
CREATE DOMAIN statement |
DROP DOMAIN statement |
|
CREATE SEQUENCE statement |
DROP SEQUENCE statement |
|
CREATE SYNONYM statement |
DROP SYNONYM statement |
RENAME SYNONYM statement |
CREATE VIEW statement |
DROP VIEW statement |
RENAME VIEW statement |
CREATE INDEX statement |
DROP INDEX statement |
ALTER
INDEX statement |
COMMENT ON statement |
|
|
CREATE TRIGGER statement |
DROP TRIGGER statement |
|
CREATE DBPROC statement |
DROP DBPROC statement |
|
CREATE FUNCTION statement |
DROP FUNCTION statement |
|
SQL statements for authorization
CREATE USER statement |
DROP USER statement |
ALTER
USER statement |
CREATE USERGROUP statement |
DROP USERGROUP statement |
ALTER
USERGROUP statement |
CREATE ROLE statement |
DROP ROLE statement |
|
ALTER PASSWORD statement |
GRANT statement |
REVOKE statement |
SQL statements for data manipulation
INSERT statement |
UPDATE statement |
DELETE statement |
NEXT STAMP statement |
CALL statement |
|
SQL statements for data query
QUERY statement |
SINGLE SELECT statement |
EXPLAIN statement |
OPEN CURSOR statement |
FETCH statement |
CLOSE statement |
SQL statements for transaction management
CONNECT statement |
SET statement |
|
COMMIT statement |
ROLLBACK statement |
SUBTRANS statement |
LOCK statement |
UNLOCK statement |
RELEASE statement |
SQL statements for statistics management
UPDATE STATISTICS statement |
MONITOR statement |
|