Appendix H. Sample Application Code


This appendix provides supplementary examples of application code that is not SQL. In Chapter 5, "Understanding and Using Cursors and Result Sets," the notion of returning result sets to an application program from an SQL procedure was introduced. In Chapter 8, "Nested SQL Procedures," the notion of SQL stored procedures processing result sets was introduced.

This appendix discusses how an application program, written in C or Java, can process results sets that would be returned by a stored procedure. Additionally, examples of how Java stored procedures can process result sets are also provided. This information is particularly useful for the iSeries platform, where SQL stored procedures cannot process result sets.



    DB2 SQL PL. Deployment and Advanced Configuration Essential Guide for DB2 UDB on Linux., UNIX, Windows, i5. OS, z. OS
    Intelligent Enterprises of the 21st Century
    ISBN: N/A
    EAN: 2147483647
    Year: 2003
    Pages: 205

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net