Home > AS/400 Tips > iSeries book excerpts > SQL Built-In Functions and Stored Procedures -- Chapter 2
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES BOOK EXCERPTS

SQL Built-In Functions and Stored Procedures -- Chapter 2


Mike Faust
02.16.2006
Rating: -3.88- (out of 5)


iSeries news and advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


As a member of Search400.com, you're entitled to a complimentary copy of Chapter 2 of Stored Procedures and Built-In Functions written by Mike Faust and published by MC Press. This chapter, " Built-In Functions ," will explore the BIFs included in the DB2 implementation of SQL on the iSeries.

>> After you've read the chapter, test yourself to see how much you know.



[IMAGE]

Book description:

Stored procedures and built-in functions can greatly expand the power and usefulness of SQL, but surprisingly these highly useful tools remain untapped by many programmers. For programmers who are new to the subject or those who want to expand on what they already know, this book provides a terrific introduction to the creation and use of built-in functions and stored procedures under OS/400 and i5/OS. But what are they?

Built-in functions are a part of practically every programming language and can be a big boost to productivity by identifying and isolating functions that need to be executed repeatedly. SQL makes particularly good use of its built-in functions. Stored procedures are programs that can be called from within SQL—and other programming languages, such as RPG—to process entire datasets. This book will put you on the fast track to using and writing both effectively.

After you learn the basics of these powerful tools, you'll go on to explore some of the stored procedures and functions included with SQL on the iSeries as part of OS/400 and i5/OS. Author Mike Faust even explains the process of developing custom built-in functions for your own use and has included a stored procedure that can be used to create a crosst...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
iSeries book excerpts
IBM System i APIs at Work, Second Edition -- Chapter 10
SOA for the Business Developer -- Chapter 2
Managing Without Walls -- Chapter 7
IBM WebSphere Portal Primer, Second Edition -- Chapter 2
AS/400 Primer, Third Edition -- Chapter 6
WebSphere Application Server: Step by Step -- Chapter 2
Hot iSeries books in 2006
Java for RPG Programmers, Third Edition -- Chapter 10
Active Server Pages Primer -- Chapter 2
The Modern RPG IV Language, Fourth Edition -- Chapter 13

iSeries SQL commands and statements
Enhancing RPG with external SQL stored procedures
Tracking data changes on IBM i with triggers
Introduction to SQLRPGLE on IBM i: Making a report
Making the most of RPG data handling on IBM i
When is the YES option for 'reuse deleted files' function the best choice?
Monitoring members 'stuck' within a physical file on an EDI system
Creating a host variable of the 'where in' statement in SQL
SQL server error message -321
Choose which column names are returned via ODBC when working with DB2 files
Convert a numeric physical file to a character in SQL without leading zeros
iSeries SQL commands and statements Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


ab or pivot table representation of supplied data.

This book is the tool you need to boost the power of your i5/OS SQL programming skills.

With SQL Built-In Functions and Stored Procedures, you will:

  • Discover how to perform routine maintenance functions, such as copying a file or rebuilding an existing table without losing the data in the existing table.

  • Learn how to build data files, modify a library list, and compile programs.

  • Practice using example programs that not only teach, but also make excellent additions to any programmer's library.

  • Learn how to use 11 different functions, including functions to edit numeric values for print with commas, decimal points, and currency symbols; a function that returns the distance in miles between two ZIP codes; functions to convert date and currency to a text string and more.

  • Gain access to complete code on the Web for each function, which you can use directly in your own programs.

    Contents:

    Introduction
    Chapter 1: SQL on the iSeries
    Chapter 2: Built-In Functions
    Chapter 3: Creating Custom Stored Procedures
    Chapter 4: Creating User-Defined Functions
    Chapter 5: Using Functions and Procedures
    Appendix: Example Installation Instructions
    SQL
    CL, RPG, and SQLRPG
    Active Server Pages
    Java
    Save Files
    Additional Examples

    >> Read "Chapter 2: Built-In Functions" now.

    >> After you've read the chapter, test yourself to see how much you know.

    >> Want to learn more about the book? Buy the book from MC Press.





    Rate this Tip
    To rate tips, you must be a member of Search400.com.
    Register now to start rating these tips. Log in if you are already a member.




    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



  • iSeries Security - Security Tools, Physical Security and System Security
    HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts