![]() | Programming Guide | ![]() |
Release the cursor used to fetch data in the transaction manager
int sm_tm_command ("RELEASE [ tableViewName [ tableViewScope ] ]");
RELEASEreleases 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.RELEASEis only used in special cases; generally, cursor management is part of theSELECT,VIEWandCONTINUEcommand.For some database engines, such as SYBASE CT-Lib, the
CLOSEcommand does not release the database locks when aSELECTcommand is not followed by aSAVEcommand. In this case, follow theCLOSEwith theRELEASEcommand which gives up the locks on the database.
RELEASEhas no effect unless it is called afterSELECTorVIEW.