2489040 - Error 2714 when recreating a table after rename existing one inside a stored procedure - SAP ASE | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2489040 - Error 2714 when recreating a table after rename existing one inside a stored procedure - SAP ASE

Symptom

  • First execution of a stored procedure after major upgrade may raise error 2714, the stored procedure recreate a table after rename the existing one.
  • Text of error 2714:

Msg 2714, Level 16, State 1:
Server 'server_name', Procedure 't_rename_sp', Line 10:
There is already an object named 'table_name' in the database.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.x releases
  • SAP Adaptive Server Enterprise (ASE) 16.0 releases

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

sp_rename, query tree, table exists, sysobjects, msg 2714   , 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 ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.