17.10.2015 Views

Getting Started with IBM Data Studio for DB2

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

178 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>IBM</strong> <strong>Data</strong> <strong>Studio</strong> <strong>for</strong> <strong>DB2</strong><br />

Figure 5.27 – Content assist to reference table columns<br />

5.4 Special registers<br />

In the Special Registers tab, you can specify the current schema and path that you want to<br />

use to run the SQL or XQuery statements against.<br />

The Current schema register is used when you deploy and run database objects <strong>with</strong> your<br />

SQL scripts. It resolves unqualified database object references. By default, the database<br />

name from the current connection profile on the Configuration tab will be displayed if your<br />

SQL does not specify a schema. To change it, click the Select button, then select a<br />

different schema in the Select a schema window, as shown in Figure 5.28.<br />

Figure 5.28 – Changing the current schema to different one<br />

The Current path register is used when you deploy and run database objects <strong>with</strong> your<br />

SQL scripts. It resolves unqualified function names, procedure names, data type names,<br />

global variable names, and module object names in dynamically prepared SQL statements.<br />

You can add schemas to the current path by clicking the Select button, as shown in Figure<br />

5.29. Select one or more from the Select schemas window that opens.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!