Obtains the name of tha database against which the script is executed.

1 system.dbms.getName

<system.dbms.getName />
Example

Obtain the name of the database against which the script is executed.

Copy
<xsql-script name='system_getName_sample1'>
    <body>
        <set name='m_sch'>
            <system.dbms.getName />
        </set>
        <println><m_sch/></println>
    </body>
</xsql-script>

An example of returned value would be:

Copy
demo_foodmart