The following table summarizes the methods by which each SQL statement can be executed. An asterisk indicates that the statement is executable by that method.
|
SQL Statement |
CA Datacom Datadictionary |
In an application |
CA Dataquery |
|---|---|---|---|
|
ALTER TABLE |
* |
* |
* |
|
CALL |
YES (if no |
* |
YES (if no |
|
CLOSE |
|
* |
|
|
COMMENT ON |
* |
* |
* |
|
COMMIT WORK |
* |
* |
|
|
CREATE INDEX |
* |
* |
* |
|
CREATE PROCEDURE |
* |
* |
* |
|
CREATE RULE |
* |
* |
* |
|
CREATE SCHEMA |
* |
* |
|
|
CREATE SYNONYM |
* |
* |
* |
|
CREATE TABLE |
* |
* |
* |
|
CREATE TRIGGER |
* |
* |
* |
|
CREATE VIEW |
* |
* |
* |
|
DECLARE CURSOR |
|
* |
|
|
DECLARE STATEMENT |
* |
|
|
|
DELETE (positioned) |
|
* |
|
|
DELETE (searched) |
* |
* |
* |
|
DESCRIBE |
|
* |
|
|
DROP INDEX |
* |
* |
|
|
DROP RULE |
* |
* |
* |
|
DROP PROCEDURE |
* |
* |
* |
|
DROP SYNONYM |
* |
* |
* |
|
DROP TABLE |
* |
* |
* |
|
DROP TRIGGER |
* |
* |
* |
|
DROP VIEW |
* |
* |
* |
|
EXECUTE |
|
* |
|
|
EXECUTE IMMEDIATE |
|
* |
|
|
EXECUTE PROCEDURE |
YES (if no |
* |
YES (if no |
|
FETCH |
|
* |
|
|
GRANT |
* |
* |
* |
|
INSERT |
* |
* |
* |
|
LOCK TABLE |
* |
* |
|
|
OPEN |
|
* |
|
|
PREPARE |
|
* |
|
|
REVOKE |
* |
* |
* |
|
ROLLBACK WORK |
* |
* |
|
|
select-into statement |
|
* |
|
|
select-statement |
* |
(use |
* |
|
full-select statement |
(part of the |
(part of the |
(part of the |
|
subselect |
(part of full-select statement) |
(part of full-select statement) |
(part of full-select statement) |
|
SET CURRENT SQLID |
|
* |
|
|
UPDATE (positioned) |
|
* |
|
|
UPDATE (searched) |
* |
* |
* |
|
WHENEVER |
|
* |
|
|
Copyright © 2014 CA.
All rights reserved.
|
|