Programming Q parameters | Accessing tables with SQL statements
SQL EXECUTE
SQL EXECUTE can be used in conjunction with various SQL
instructions.
The following SQL instructions are used in the SQL command
SQL EXECUTE.
Instruction
Function
Select data
SELECT
Create synonym (replace long path names
CREATE
with short names)
SYNONYM
Delete synonym
DROP SYNONYM
Generate a table
CREATE TABLE
Copy table
COPY TABLE
Rename table
RENAME TABLE
Delete a table
DROP TABLE
Insert table rows
INSERT
Update table rows
UPDATE
Delete table rows
DELETE
Add table columns using ADD
ALTER TABLE
Delete table columns using DROP
Rename table columns
RENAME COLUMN
Example for the SQL EXECUTE command
Remarks:
The gray arrows and associated syntax do not directly belong to
the SQL EXECUTE command
Black arrows and associated syntax indicate internal processes of
SQL EXECUTE
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022
9
335