SAP Knowledge Base Article - Preview

3269443 - show_cached_plan_in_xml() does not work for serverside cursor

Symptom

The function show_cached_plan_in_xml() does not display plan information, just a similar output than this one:

1> select show_cached_plan_in_xml(1758730387,0)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
 ------------------------------------------------------------------------------------------------------------------------------                   -------------------------------------------------------------------------------------------------------------------------------                   -------------------------------------------------------------------------------------------------------------------------------                   -------------------------------------------------------------------------------------------------------------------------------                   -----
 <?xml version="1.0" encoding="UTF-8"?>

<query>
        <statementId>1758730387</statementId>
        <text>
                <![CDATA[
                        SQL Text: SELECT au_fname FROM authors]]>
        </text>

        <plan>
                <planId>44</planId>
                <planStatus> available </planStatus>
                <planSharing> notShareable </planSharing>

        </plan>
        </query>
                                                                                                                                                  

(1 row affected)


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) 16.0

Keywords

CR827232, CR#827232, 827232 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite 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.