4D v16.3TRUNCATE TABLE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
TRUNCATE TABLE
TRUNCATE TABLE
The TRUNCATE TABLE command quickly deletes all the records of aTable. After calling the command, there is no longer any current selection or current record. The effect of this command is similar to that of an ALL RECORDS / DELETE SELECTION sequence; however, its functioning differs on the following points:
The TRUNCATE TABLE command should therefore be used with caution but is very effective in certain cases, for example, such as quickly deleting temporary data Note: The concept and functioning of this command is similar to that of the SQL TRUNCATE (TABLE) command. If the command has been executed correctly, the OK system variable is set to 1. Otherwise, it is set to 0.
See also
|
PROPERTIES
Product: 4D HISTORY
Modified: 4D v11 SQL Release 3 ARTICLE USAGE
4D Language Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||