SAP Knowledge Base Article - Preview

2180342 - Error 17362 raised by sp_changedbowner for user tempdb - SAP ASE

Symptom

  • In the "sp_helpdb tempdb3" output, the dbo of the user tempdb is a non-sa user.
  • Receiving the following error when executing "sp_changedbowner sa" to change the dbo of that user tempdb to "sa":

1> use tempdb3
2> go
1> sp_changedbowner sa
2> go
Msg 17362, Level 16, State 1:
Server 'test16', Procedure 'sp_changedbowner', Line 181:The proposed new db owner already is a user in the database or owns the database.
(1 row affected)
(return status = 1)


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Adaptive Server Enterprise (ASE) 16.0
  • SAP Adaptive Server Enterprise (ASE) 15.0
  • SAP Adaptive Server Enterprise (ASE) 15.5

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; Sybase Adaptive Server Enterprise 15.0 ; Sybase Adaptive Server Enterprise 15.5

Keywords

sysdatabases, sysusers, restart, reboot,  automatically , KBA , ase , sybase , tempdb , 17362 , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , BW-SYS-DB-SYB , BW on Adaptive Server Enterprise , Problem

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.