Difference between revisions of "PACK"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
==Class== | ==Class== | ||
Fields and Records | Fields and Records | ||
Line 15: | Line 12: | ||
==See Also== | ==See Also== | ||
− | [[DELETE]], [[ | + | [[DELETE]], [[DELETED()]], [[RECALL]], [[REINDEX]], [[SET DELETED]], [[ZAP]] |
Revision as of 11:43, 26 May 2009
Class
Fields and Records
Purpose
Remove records from the active table that are marked for deletion
Syntax
PACK [ALL]
See Also
DELETE, DELETED(), RECALL, REINDEX, SET DELETED, ZAP
Description
The PACK command removes all the records from the active table that are marked for deletion, and frees the disk space that they occupied. If the active table is indexed, the index is updated as the records are removed from the table. Exclusive use of the table is required for the PACK operation.
ALL
If the ALL option is specified, the PACK command will start at workarea 1 and PACK every open table in all workareas.
Example
use diary ? reccount() 800 set talk on delete all for date < date() 100 record(s) deleted. pack Pack complete, 700 records copied. ? reccount() 700
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer