SQL Built-In Functions and Stored Procedures: The i5/iSeries Programmer's Guide

Mike Faust

  • 出版商: MC Press
  • 出版日期: 2005-06-15
  • 定價: $1,650
  • 售價: 1.8$299
  • 語言: 英文
  • 頁數: 176
  • 裝訂: Paperback
  • ISBN: 1583470549
  • ISBN-13: 9781583470541
  • 相關分類: SQL
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

商品描述

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 SQLand other programming languages, such as RPGto 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, youll 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 crosstab 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.

 

Table of 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

商品描述(中文翻譯)

描述:
儲存程序和內建函數可以大大擴展 SQL 的功能和用途,但令人驚訝的是,許多程式設計師對這些非常有用的工具仍然未加利用。對於對這個主題新手或想要擴展已有知識的程式設計師來說,本書提供了一個很好的介紹,介紹了在 OS/400 和 i5/OS 下創建和使用內建函數和儲存程序的方法。但它們到底是什麼?

內建函數是幾乎每一種程式語言的一部分,通過識別和隔離需要重複執行的函數,可以大大提高生產力。SQL 特別善於使用內建函數。儲存程序是可以從 SQL 和其他程式語言(如 RPG)中調用的程序,用於處理整個數據集。本書將使您能夠快速有效地使用和編寫這兩種工具。

在學習了這些強大工具的基礎知識之後,您將繼續探索作為 OS/400 和 i5/OS 的一部分的 iSeries 上包含的一些儲存程序和函數。作者 Mike Faust 甚至解釋了開發自己使用的自定義內建函數的過程,並包含了一個可以用於創建交叉表或樞紐表表示的儲存程序。

這本書是提升您的 i5/OS SQL 編程技能的工具。

目錄:
介紹
第一章:iSeries 上的 SQL
第二章:內建函數
第三章:創建自定義儲存程序
第四章:創建用戶定義函數
第五章:使用函數和程序
附錄:示例安裝說明
SQL
CL、RPG 和 SQLRPG
Active Server Pages
Java
保存文件
其他示例