Obtains the database code against which the script is executed.

1 system.dbms.getCode

<system.dbms.getCode />
Example

Obtain the database code against which the script is executed.

Copy
<xsql-script name='system_getDbms_sample1'>
    <body>
        <println>
            <system.dbms.getCode />
        </println>
    </body>
</xsql-script>

An example of returned value would be:

Copy
demo_sports

If in the command used for the script execution ( ws-dbscript), has not been specified any database (through the -dbms option), the result shown on screen will be null.