- sp_who system sproc relies on db_name(dbid) and db_name(tempdb_id(spid)) functions to report the database contexts and session tempdbs of all system & client SPIDs.
- In SAP ASE CE, the system SPIDs have dbid values of zeroes and the function tempdb(spid) return zero for all system SPIDs leading to their dbname and tempdbname values being displayed incorrectly as the name of the current database in which the client is executing sp_who
SAP Adaptive Server Enterprise Cluster Edition (ASE CE) 15.7 SP136 and higher
Sybase Adaptive Server Enterprise Cluster Edition 15.7
CR803304, CR#803304, 803304 , KBA , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , Bug Filed
About this pageThis 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.