delete (core)

Description

Removes a row from a table (cursor event). The affected row must have been made current by a read cursor.

Syntax

Transact-SQL Syntax

delete [from][[database.]owner.]{table_name | view_name}
 where current of cursor_name

ODBC Syntax

DELETE FROM table_name WHERE CURRENT OF cursor_name

Examples

Example 1

delete titles where current of title_crsr

Usage