4. Accessing a DBMS Using SQL : SQL Syntax : Cursor Delete Statement
 
Share this page                  
Cursor Delete Statement
This statement has the following syntax in OpenAPI:
delete from tablename
Do not include a where clause. The application provides the cursor ID as a parameter to the cursor delete query. The cursor ID is the statement handle returned when the cursor is opened. OpenAPI builds the where clause using the information in the cursor ID.