Symptom
The syntax specification for the DELETE command does not support forcing an index against the target of the delete, it is only supported for lookup tables.
delete
[top <unsigned_integer>]
[from] [[<database>.]<owner>.]{<table_name> | <view_name>} <-------- No forceindex clause here
[where <search_conditions>]
[plan "<abstract plan>"]
delete [[<database>.]<owner>.]{<table_name> | <view_name>} <---------- No forceindex clause here
[from [[<database>.]<owner>.]{<table_name> | <view_name> [readpast]
[(index {<index_name> | <table_name>} <---------- Forceindex clause is supported here
[prefetch <size>][lru|mru])]}
[readpast]
[, [[<database>.]<owner>.]{<table_name> | <view_name> [readpast]|
[(index {<index_name> | <table_name>} <---------- Forceindex clause is supported here
[prefetch <size>][lru|mru])]
[readpast]} ...]
[where <search_conditions>]]
[plan "<abstract plan>"]
Read more...
Environment
- SAP Adaptive Server Enterprise (ASE)
- SAP Adaptive Server Enterprise Cluster Edition (ASE CE)
Product
Keywords
Sybase, ASEServer, SAPASE, dataserver, index hint, showplan, delete, forceindex , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview