Acknowledgments |
|
ix | |
Preface |
|
xi | |
|
|
1 | (22) |
|
Examples of Basic SELECTs |
|
|
2 | (4) |
|
Getting Started with STRSQL |
|
|
6 | (4) |
|
|
10 | (9) |
|
Tricks in the Interactive Environment |
|
|
19 | (2) |
|
|
21 | (2) |
|
|
23 | (26) |
|
Installing the Database Component of iSeries Navigator |
|
|
24 | (2) |
|
Getting Started with the SQL Scripting Tool |
|
|
26 | (16) |
|
|
42 | (7) |
|
|
49 | (38) |
|
Why Embed SQL within RPG IV? |
|
|
49 | (2) |
|
How to Embed SQL within RPG IV |
|
|
51 | (15) |
|
Prepared Select Statements |
|
|
66 | (1) |
|
Updating the Data in the Result Set |
|
|
67 | (11) |
|
|
78 | (8) |
|
|
86 | (1) |
|
|
87 | (32) |
|
|
87 | (12) |
|
Handling Multimember Files with Aliases |
|
|
99 | (1) |
|
|
100 | (11) |
|
Using CASE to Handle Tricky Situations |
|
|
111 | (2) |
|
|
113 | (4) |
|
|
117 | (2) |
|
|
119 | (28) |
|
Using Debug to Optimize SQL Statements |
|
|
119 | (2) |
|
|
121 | (8) |
|
Query Attributes File QAQQINI |
|
|
129 | (1) |
|
|
130 | (1) |
|
|
131 | (1) |
|
SETOBJACC and Loading Files into Memory |
|
|
132 | (1) |
|
Traditional or Legacy Files and Index Issues |
|
|
133 | (3) |
|
|
136 | (1) |
|
|
137 | (1) |
|
|
138 | (2) |
|
|
140 | (4) |
|
Optimize the Machine or Optimize the People? |
|
|
144 | (1) |
|
|
145 | (1) |
|
|
146 | (1) |
|
Creating Database Objects |
|
|
147 | (38) |
|
Schemas, Collections, Libraries, and Databases |
|
|
147 | (10) |
|
|
157 | (8) |
|
|
165 | (1) |
|
|
166 | (2) |
|
|
168 | (3) |
|
Working with User-Defined Data Types |
|
|
171 | (1) |
|
|
172 | (2) |
|
Aliases and Multimember Processing |
|
|
174 | (1) |
|
|
174 | (2) |
|
|
176 | (1) |
|
|
177 | (3) |
|
Adding Comments to Your Database |
|
|
180 | (1) |
|
|
181 | (1) |
|
|
182 | (3) |
|
|
185 | (30) |
|
Creating Functions with RPGLE |
|
|
185 | (19) |
|
Creating Functions with SQL |
|
|
204 | (7) |
|
Creating Sourced Functions |
|
|
211 | (3) |
|
|
214 | (1) |
|
Creating Stored Procedures |
|
|
215 | (30) |
|
Creating a Stored Procedure to Post Inventory Transactions |
|
|
216 | (3) |
|
Processing a Transaction File |
|
|
219 | (5) |
|
Scheduling with Procedures |
|
|
224 | (3) |
|
Archiving Data with Procedures |
|
|
227 | (3) |
|
Calling a CL Program as a Stored Procedure |
|
|
230 | (5) |
|
|
235 | (3) |
|
Calling Stored Procedures with Embedded SQL |
|
|
238 | (6) |
|
|
244 | (1) |
|
|
245 | (34) |
|
|
246 | (16) |
|
Using RPGLE to Create SQL-based Tools |
|
|
262 | (16) |
|
|
278 | (1) |
|
Using SQL from within Microsoft Office |
|
|
279 | (50) |
|
How to Access iSeries Data from a PC |
|
|
280 | (7) |
|
How to Access iSeries Data from Excel |
|
|
287 | (16) |
|
|
303 | (4) |
|
Uploading Data to the iSeries |
|
|
307 | (12) |
|
Integrating iSeries Data into Word Using ADO |
|
|
319 | (6) |
|
Calling a Stored Procedure through ADO |
|
|
325 | (2) |
|
|
327 | (2) |
|
Appendix: SQL Basics for Beginners |
|
|
329 | (1) |
|
|
330 | (1) |
|
|
331 | (1) |
|
|
332 | (1) |
|
|
333 | (1) |
|
|
333 | (1) |
|
|
333 | (2) |
|
|
335 | (1) |
|
|
335 | (2) |
|
|
337 | (1) |
|
|
338 | (1) |
|
|
339 | (1) |
|
|
339 | |