as_DBMDeleteAllRecords
Description
Å×À̺íÀÇ ¸ðµç ·¹ÄÚµå¿Í CategoryÀ» »èÁ¦ÇÑ´Ù.
Syntax
DBMErr as_DBMDeleteAllRecords(ScanId scanId);
Parameters
scanId ½ºÄµ ID
Returns
value
¼³¸í
DBM_OK
·¹ÄÚµå¿Í CategoryÀÌ ¼º°øÀûÀ¸·Î »èÁ¦µÈ °æ¿ì
DBM_INVALID_SCAN_ID
ÁÖ¾îÁø ½ºÄµ id¸¦ °®´Â ½ºÄµÀÌ Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì
DBM_DB_NOT_INITED
µ¥ÀÌŸº£À̽º°¡ ÃʱâȵǾî ÀÖÁö ¾ÊÀº °æ¿ì
Comments
ÇØ´ç Å×À̺íÀº Å×À̺íÀÌ Ã³À½ »ý¼ºµÈ ÇüÅÂ¿Í À¯»çÇÏ°Ô µÈ´Ù.
Example
/* Get tableId */
DBMErr ret;
ScanId scanId;
ret =
as_DBMOpenSeqScanTable
( tableId, DBM_PRIM, 0, DBM_INCR, &scanId);
/* error handling */
ret = as_DBMDeleteAllRecords(scanId);
if (ret == DBM_OK)
//Success!
else
// error handling