Symptom
- sysqueryplans shows a negative number for gid column
- Document specifies to use the gid number when dropping the metric
- sp_metrics code has a fixed negative value for gid
drop code does a 'where gid = -@gid' - sp_metrics "drop","-1" yields the following error:
Msg 19421, Level 16, State 1:
Server 'svrname', Procedure 'sp_metrics', Line 113:
Syntax error. '@arg1' should be a string representation of an integer, such as '100'.
(return status = 1)
Read more...
Environment
SAP Adaptive Server Enterprise (ASE) 16.0
Product
SAP Adaptive Server Enterprise all versions
Keywords
Msg 19421, 19421, syntax error , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , 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.