16.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.

Chapter 5 – Creating SQL and XQuery scripts 185<br />

Figure 5.35 – Build an SQL script using Query Builder<br />

When using the SQL Query Builder, you can select from several SQL statement types, as<br />

shown in Figure 5.36.<br />

Figure 5.36 – Selecting a statement type<br />

After you have selected the statement type, click Finish. In this example, choose the<br />

SELECT statement type.<br />

After you click Finish, the new file,Script2.sql is stored in the SQL Scripts folder of<br />

your project. The SQL Builder also automatically opens so that you can construct your<br />

statements, as shown in Figure 5.37.

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

Saved successfully!

Ooh no, something went wrong!