Programming Guide |
Release the cursor used to fetch data in the transaction manager
int sm_tm_command ("RELEASE [ tableViewName [ tableViewScope ] ]");
RELEASE
releases the database cursor used to fetch data in the transaction manager. In two-tier applications, if a continuation file is in use, that file will no longer be available.RELEASE
is only used in special cases; generally, cursor management is part of theSELECT
,VIEW
andCONTINUE
command.For some database engines, such as SYBASE CT-Lib, the
CLOSE
command does not release the database locks when aSELECT
command is not followed by aSAVE
command. In this case, follow theCLOSE
with theRELEASE
command which gives up the locks on the database.
RELEASE
has no effect unless it is called afterSELECT
orVIEW
.