SAP Knowledge Base Article - Preview

2780882 - Running sp_tempdb commands with 'tempdb' returns error 18946 - SAP ASE

Symptom

  • Running sp_tempdb commands referencing the system 'tempdb' returns error 18946

  • When running sp_tempdb command to explicitly bind a login or application to the system tempdb, it returns message 18946:

    sp_tempdb "bind", "ap" , "isql" , "DB" , "tempdb"

    Msg 18946, Level 16, State 1:
    Server 'ase', Procedure 'sp_multdb_bind', Line 291:
    The database 'tempdb' does not exist or is not a user created temporary database.

  • When running sp_tempdb command to drop system tempdb from the default group, it returns message 18946:

    sp_tempdb 'remove', tempdb , 'default'

    Msg 18946, Level 16, State 1:
    Server 'ase', Procedure 'sp_multdb_removefromgroup', Line 133:
    The database 'tempdb' does not exist or is not a user created temporary database.


Read more...

Environment

 SAP Adaptive Server Enterprise (ASE) - All versions

Product

SAP Adaptive Server Enterprise all versions ; Sybase Adaptive Server Enterprise all versions

Keywords

sp_tempdb, Msg 18946, temporary database, bind , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , Known Error

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.