16.10.2015 Views

Getting Started with IBM Data Studio for DB2

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 8 – Developing SQL stored procedures 249<br />

To deploy the stored procedure:<br />

1. Expand the stored procedure project in the <strong>Data</strong> Project Explorer view, right-click<br />

STOREDPROCEDURE1 from Stored Procedures folder, and select Deploy as shown<br />

in Figure 8.11.<br />

Figure 8.11 – Deploy the stored procedure<br />

2. In the Deploy Routines window, make sure that the target schema is GOSALESCT.<br />

Use the Target database options to either deploy on the current database or on a<br />

different database. Specify how <strong>Data</strong> <strong>Studio</strong> handles duplicate objects in the Duplicate<br />

handling options. Accept all of the defaults, and select Finish as shown in Figure 8.12.

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

Saved successfully!

Ooh no, something went wrong!