Flylib.com

Books Software

 
 
 

DB2(R) Universal Database for OS/390 V7.1 Application Certification Guide (IBM DB2 Certification Guide Series) - page 44

Team-Fly    

 
DB2 Universal Database for OS/390 v7.1 Application Certification Guide
By Susan Lawson
Table of Contents
Chapter 4.  Advanced SQL Coding

Summary

In the chapter we looked at some of the advanced features of SQL, including all the different types of joins: inner, left outer, right outer, and full outer. Star joins, which are used in support of star schemas, were also examined.

SQL can become very useful for solving complex business problems by using such features as CASE expressions, nested table expressions, UNIONs and subqueries. These features allow us to push a lot of business logic into the SQL statement.


Team-Fly    
Top
Team-Fly    

 
DB2 Universal Database for OS/390 v7.1 Application Certification Guide
By Susan Lawson
Table of Contents
Chapter 4.  Advanced SQL Coding

Additional Resources

IBM DB2 UDB for OS/390 SQL Reference SC26-9944-01


Team-Fly    
Top
Team-Fly    

  
DB2 Universal Database for OS/390 v7.1 Application Certification Guide
By Susan Lawson
Table of Contents


Part 3: Developing Applications

Chapter 5.  Using SQL in an Application Program

Chapter 6.  Binding an Application Program

Chapter 7.  Application Program Features

Chapter 8.  Stored Procedures

Chapter 9.  Testing and Debugging Applications

Chapter 10.  Accessing Distributed Data


Team-Fly    
Top
045 - Chapter 5. Using SQL in an Application Program <ul><li> <p clas><script> function OpenWin(url, w, h) { if(!w) w = 400; if(!h) h = 300; window. <one> open </one> (url, "_new", "width=" + w + ",height=" + h + ",menubar=no,toobar=no,scrollbars=yes", true); } function Print() { window.focus(); if(window.print) { window.print(); window.setTimeout('window.close();',5000); } } </script><span></span></p> <table width="100%" cellpadding="0" cellspacing="0" border="0"><tr valign="top"></tr></table> <table width="100%" height="20" border="0" cellpadding="0" cellspacing="1"><tr></tr></table> <table width="100%" border="0" cellspacing="0" cellpadding="0"><tr valign="top"><td align="center"><table width="95%"><tr><td align="left"> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr><td valign="top" height="5"><img src="http://flylib.com/books/2/607/1/html/2/images/pixel.gif" width="1" height="5" alt="" border="0"></td></tr> <tr> <td><b><font size="1" <one> color </one> ="#0000FF">Team-Fly<img border="0" src="http://flylib.com/books/2/607/1/html/2/Fly-Logo.gif" width="81" height="25"></font></b></td> <td valign="top" align="right">     </td> </tr> </table> <hr size="1"> <table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td valign="top" width="76" rowspan="4"><img src="http://flylib.com/books/2/607/1/html/2/images/0131007718/0131007718_xs.jpg" width="76" height="95" border="0"></td> <td valign="top">DB2 Universal Database for OS/390 v7.1 Application Certification Guide<br>By Susan Lawson<br> </td> </tr> <tr><td>Table of Contents</td></tr> <tr><td></td></tr> <tr><td valign="bottom">Part 3.  Developing Applications</td></tr> </table> <hr size="1"> <br><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td valign="top"> <h2>Chapter 5. Using SQL in an Application Program</h2> <ul> <li><p>Application Environment</p></li> <li><p>Embedded SQL</p></li> <li><p>Host Variables</p></li> <li><p>Using Cursors</p></li> <li><p>Using Dynamic SQL</p></li> </ul> <img src="http://flylib.com/books/2/607/1/html/2/images/pixel.gif" width="1" height="1" border="0"> </td></tr></table> <hr size="1"> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr><td valign="top" height="5"><img src="http://flylib.com/books/2/607/1/html/2/images/pixel.gif" width="1" height="5" alt="" border="0"></td></tr> <tr> <td><b><font <one> size </one> ="1" color="#0000FF">Team-Fly<img border="0" src="http://flylib.com/books/2/607/1/html/2/Fly-Logo.gif" width="81" height="25"></font></b></td> <td valign="top" align="right">     </td> </tr> </table> <table width="100%" border="0" cellspacing="0" <one> cellpadding </one> ="0"><tr><td valign="top" align="right">Top</td></tr></table> </td></tr></table></td></tr></table> </li></ul>