16.10.2015 Views

Getting Startedwith pureQuery

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

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

84<br />

<strong>Getting</strong> Started with <strong>pureQuery</strong><br />

4.3.1 Designing database packages<br />

ODS provides an editor with content-assist for the Default.genProps file where you can<br />

provide properties such as the package name, collection and version of the database<br />

package to be deployed to the database as shown in Figure 4.10.<br />

Figure 4.10 - Changing the properties before deployment<br />

Once you have entered your properties, save the file and click Yes on the dialog asking<br />

you to re-build your project for the changes to take effect. The SQL Outline will<br />

automatically change to reflect these properties if needed such as a change in the package<br />

name.<br />

You can also design packages through the <strong>pureQuery</strong>XML Editor for capture files. In this<br />

editor, for example, you can create a new package and drag-and-drop statements from one<br />

package to another within the same capture.pdqxml file or delete statements that you do<br />

not wish to run as static SQL—see Figure 4.11.

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

Saved successfully!

Ooh no, something went wrong!