SAP Knowledge Base Article - Preview

3265952 - Error 622 is raised after loading DB dump and recreating the table - SAP ASE

Symptom

  • A table that uses a SQL Function as a default which references a view.
  • After loading a dump and recreating the table, error 622 is raised:
       
    Msg 622, Level 20, State 1:
    Server 'server_XXX', Procedure 'dbo.fn_NAME', Line 9:
    Opentable was passed a varno of 0. Object 'NAME_View' in database 'XXXX' already has that session descriptor in use. This occurred while opening object id XXXXXXXX in database id X.


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) 16.x

Product

SAP Adaptive Server Enterprise 16.0

Keywords

CR 827343, CR#827343, 827343, create table, load, load DB dump, load database dump, function, SQL Function, default, reference, view, Msg 622, 622 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

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.