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 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.
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.
Customer Reviews:
Highly dissappointed in MC Press........2007-03-23
I am a computer programmer/analyst for a major manufacturing company and a need has recently come for us to write some stored procedures for interfacing our machine software on PC workstations with our AS/400. I've written many RPG IV programs with embedded SQL and even wrapped them in stored procedures, but I wanted to learn SPL to try to avoid the middle man. This book was NOT easy-to-understand as advertised. Rather than explain, line by line, what each command does/means so that you can use it for your own purposes, he just gives you an example procedure and tells you what it does. These procedures are supposed to be useful, but we can't use many of them and I think some would be much better served in other languages. I found this book very poorly written and difficult to follow. It started out just fine, but about 50+ pages into it he abandons his clear explanations and goes far beyond a beginner's means--like flooring the pedal in a Firebird. It was almost as if he had a deadline to meet and wrote the second half of the book in a fraction of the time he spent on the first half. If I wanted something so technical and confusing I would have read the free IBM manual rather than buy this book. MC PRESS needs to change this book's rating from 'Novice' to 'Advanced' and a second edition needs to be released correcting all the errors. Mr. Faust you dropped the ball on this one.
DID IT AGAIN.......2005-06-27
Mike Faust did it again. He has given busy professionals a
detailed, percise "how-to" book for SQL built-in functions and stored procedures. There's no excuse not to use these useful, time saving tools once you purchase this book.
Stored Procedures the IBM DB2 Way.......2005-05-18
This book concentrates on using the IBM mid-range computer systems with DB2 as the database.
SQL, is usually thought of as simply a bunch of commands used to manipulate data in a database. Most books talk about the big three SQL commands of SELECT, INSERT, and UPDATE as being just about all that SQL can do.
In reality, the "L" stands for "Language" and the full fledged SQL's in the big databases are full fledged languages. Like other languages, they have logic, loops, functions, and internal variables just like other languages.
While SQL is a standard, each implementation does things just a bit differently. This small book gives a very quick overview of the standard commands like SELECT, but spends most of its pages on doing stored procedures the IBM way.
Book Description
Pro T-SQL 2005 Programmer's Guide provides comprehensive and detailed coverage of all the major features and facilities of T-SQL for SQL Server 2005. It is designed for all users of T-SQL, database administrators, systems administrators, application developers, and end-users, who want to learn how to exploit the power of T-SQL. Whatever you need to do with T-SQL, you'll find it described clearly here.
Stored procedures, triggers, and user-defined functions are only part of the story. Dynamic SQL, the new XML data type, and SQLCLR programming are also covered, as well as accessing SQL Server with ADO.NET. Exception handling and performance are fully covered, too. This book is truly a complete programmer's guide to T-SQL and SQL Server 2005.
Customer Reviews:
A book for every developer working with T-SQL - Review of Database Administrator SQLAuthority.com.......2007-09-14
Short Summary:
Pro T-SQL 2005 Programmer's Guide book examines SQL Server 2005 T-SQL from a developer's perspective. It covers a wide range of developer-specific topics in SQL Server 2005. This book covers many newly introduced topics in depth. This book is written as a practical and useful guide to help database developers who mainly deals with T-SQL. This book is really hit the spot with appropriate .NET code at few places where needed. This book assumes a basic knowledge of SQL but it is really easy for new beginners developers to understand and advanced developers to enjoy further reading.
Detailed Summary:
One thing I really liked about this book is that it can be either read cover to cover, or it can be used as a reference guide for one particular topic. Index of this book is extremely well organized and aids to find the right topic very quickly. Books is structure is many chapters and each chapter justifies the chapters with good details and proper amount of examples.
Each chapter has excellent advice and knowledge and filled with sample code (available online). The book is targeted specifically at SQL Server 2005 and the innovative ways to code T-SQL, new functions and commands. If is very easy to get started with this book and it immerses in comprehensive reading in no time. This book addresses many details and comparisons with T-SQL in very organized way. The examples are in very accurate and useful as well sufficient to targeted topics. This book addresses many of the real world issues with examples, discussions and solutions.
This book start with providing a brief history of T-SQL and the ANSI SQL standards. SQLCMD and SQL Server Management Studio are new tools to explore SQL Server 2005 and are covered in depth in beginning of the book. Chapters which covers Common Table Expressions (CTEs), new datatypes, operators, keywords, functions, and control of flows are really interesting and with necessary explanation. Readers of my blog are very well aware of my interests in Error handling and debugging. Interesting enough for me there is one whole chapter dedicated to that. The regular T-SQL concepts which I write a lot about Stored Procedure, Triggers and Dynamic SQL each have their own chapter. One thing many T-SQL book does not cover in depth is XML, XQuery and XPath which are properly discussed and their importance is explained properly. Last three chapter of the book which covers SQLCLR, .NET Client Programming and HTTP Endpoints requires the Microsoft .NET FrameWork 2.0, as it contains some code which are written in VB and C#.
One thing which I always liked in any database book is, use of sample database AdventureWorks. I strongly believe that all the example should be independent from previous examples and should use default database. If you have not installed default database AdventureWorks, you can get its latest location by searching in my blog SQLAuthority.com. All the script of examples are available to download online. No book is free from the errors and website for this book have errata list, which is surprisingly very small.
I will list few tips from book which interested me. This will give brief idea how good this book is.
"TABLESAMPLE always returns an approximate number of rows because of the way it samples data. The required percentage is the number of data pages SQL Server retreves in full to fulfill your TABLESAMPLE request. The number of rows returned by TABLESAMPLE will often be slightly less, or greater, than the specified amount."
"Anytime you use dynamic SQL, make sure that you take precautions against SQL injection, that is, malicious SQL Code being inserted into your SQL statements. In this instance we're using the QUOTENAME function to quote the column names being dynamically generated to help avoid SQL injection problems."
Following one example really caught my eyes while reading the book. It seems Author accurately described the situation and put his suggestion regarding syntax.
"The ANSI SQL:2003 standard includes a MERGE statement that performs the same function as the upsert type of SP. The prerelease versions of SQL Server 2005 included the MERGE statement. Though it was well-publicized during the prerelease period, the MERGE statement was unceremoniously dropped from the production version. We can only hope that Microsoft brings it back sometime in the near future."
Good news is Microsoft have included the Authors request in future version of SQL Server. SQL Server 2008 CTP 4 has included MERGE Keyword.
Rating: 4 and 1/2 stars
In Summary, A book for every developer who want to take full advantage of the power of T-SQL on SQL Server 2005.
Pinal Dave
Principal Database Administrator
(blog.sqlauthority.com)
Essential Tool for SQL Developers and Administators.......2007-06-24
Pro T SQL Programmers Guide is an excellent resource to jump start your SQL Server 2005 development efforts. Michael Coles presents clear, concise examples that will guide the reader from T-SQL fundamentals to the use of the new xml data type,http endpoints, sqlclr programming, encryption and more. A clear read with great practical examples.
I would highly recommend this book as a reference and guide book for t-sql developers, dba's and development professionals
An excellent T-SQL guide..........2007-06-20
This book is is easy to read and does an excellent job of introducing the new features and tools in T-SQL 2005. The book covers all the new features of SQL 2005 very well and I was especially impressed with the section on encryption.
Indispensable book for T-SQL Programmers.......2007-06-15
This book is well written with clear examples and excellent coverage of T-SQL. Great to read cover to cover but also very useful as a reference source. I highly recommend it.
a great book!.......2007-06-11
I really enjoyed this book. It presents the essential new features of SQL 2005 in a well written easy to read manner. If you are a SQL Developer and want to get up to speed quickly on SQL Server 2005 this is the book for you.
The chapter on encryption is excellent and worth the price of the book by itself.
Book Description
The Programmer's Guide to SQL provides an in-depth yet concise tutorial on the use of Structured Query Language (SQL), the standard that defines how to create and manipulate databases and the data that they store. Once you've mastered the fundamentals, the book serves as a handy desktop reference on SQL usage, covering all the major SQL statements that you're likely to need when programming databases, with example code for five major database systems: SQL Server, Oracle, DB2, MySQL, and Access. In each case, it demonstrates how the SQL standard is implemented, and in some cases extended, by each database system vendor. It discusses:
- Querying, modifying and summarizing data using SQL
- SQL Functions
- Complex nested queries and joins
- Programming database stores procedures, triggers and views
- Creating tables, indexes and other database objects
- How to write transaction-safe SQL
- How to implement basic database security
The book covers the very latest version of the SQL standard, SQL-99, and includes two complete case studies, showing how to create and query the underlying database for a fully featured web site, and how to implement role-based security in your applications. As such, it is ideal for any programmer, analyst, or database administrator in search of an SQL reference that also demonstrates how to use SQL to solve real business problems.
Download Description
The Programmer's Guide to SQL provides an in-depth yet concise tutorial on the use of Structured Query Language (SQL), the standard that defines how to create and manipulate databases and the data that they store. Once you've mastered the fundamentals, the book serves as a handy desktop reference on SQL usage, covering all of the major SQL statements that you're likely to need when programming databases--with example code for five major database systems: SQL Server, Oracle, DB2, MySQL, and Access.
In each case, it demonstrates how the SQL standard is implemented, and in some cases extended, by each database system vendor. It discusses:
- Querying, modifying and summarizing data using SQL Functions
- Complex nested queries and joins
- Programming database stores procedures, triggers and views
- Creating tables, indexes and other database objects
- How to write transaction-safe SQL
- How to implement basic database security
The book covers the very latest version of the SQL standard, SQL-99, and includes two complete case studies that show how to create and query the underlying database for a fully featured web site, as well as how to implement role-based security in your applications. As such, it is ideal for any programmer, analyst, or database administrator in search of a SQL reference that also demonstrates how to use SQL to solve real business problems.
Customer Reviews:
Nice cross-vendor comparisons.......2004-09-13
A good basic book on SQL development. My favorite thing about the book was the nice way the authors laid out the syntax differences between SQL Server, Oracle, DB2 and MySQL.
Average customer rating:
|
Client/Server Programming with Access & SQL Server: The Integrated Guide for Programmers & Developers
Leo Sanin , and
Renzhong Chen
Manufacturer: Coriolis Group Books
ProductGroup: Book
Binding: Paperback
Client-Server Systems
| Data in the Enterprise
| Networking
| Computers & Internet
| Subjects
| Books
General
| SQL
| Databases
| Computers & Internet
| Subjects
| Books
Database Management Systems
| Databases
| Computers & Internet
| Subjects
| Books
SQL Server
| Development
| Microsoft
| Computers & Internet
| Subjects
| Books
Software Development
| Software Design, Testing & Engineering
| Programming
| Computers & Internet
| Subjects
| Books
General
| Programming
| Computers & Internet
| Subjects
| Books
General
| Computers & Internet
| Subjects
| Books
Mathematics
| Professional Science
| Professional & Technical
| Subjects
| Books
| Applied
| Chaos & Systems
| Geometry & Topology
| Mathematical Analysis
| Mathematical Physics
| Number Systems
| Pure Mathematics
| Transformations
| Trigonometry
Similar Items:
-
SQL: Access to SQL Server
-
From Access to SQL Server
ASIN: 1566046939 |
Book Description
Treats the Microsoft Access and SQL Server environment as a whole rather than as separate entities. Offers problem-solving strategies and techniques for building a powerful hybrid system with Access and SQL Server. Features illustrations and code samples for overcoming a wide range of technical problems. Provides a how-to-get-started guide to Access Basic for readers unfamiliar with object-oriented programming. Answers questions within the greater context of relational database.
Customer Reviews:
Great book!.......2000-10-26
I think this is the most fantastic and authoritative book on Access and SQL Server that I have ever read. It is filled with excellent examples that draw on the authors personal experience. A must read!!!
Average customer rating:
|
Oracle Programmer's Guide (Programming Series)
David Pepin
Manufacturer: Que
ProductGroup: Book
Binding: Paperback
General
| SQL
| Databases
| Computers & Internet
| Subjects
| Books
Database Management Systems
| Databases
| Computers & Internet
| Subjects
| Books
General
| Oracle
| Databases
| Computers & Internet
| Subjects
| Books
General
| Databases
| Computers & Internet
| Subjects
| Books
General
| Programming
| Computers & Internet
| Subjects
| Books
General
| Languages & Tools
| Programming
| Computers & Internet
| Subjects
| Books
General
| Operating Systems
| Computers & Internet
| Subjects
| Books
General
| Software
| Computers & Internet
| Subjects
| Books
Mathematics
| Professional Science
| Professional & Technical
| Subjects
| Books
| Applied
| Chaos & Systems
| Geometry & Topology
| Mathematical Analysis
| Mathematical Physics
| Number Systems
| Pure Mathematics
| Transformations
| Trigonometry
ASIN: 0880224681 |
Average customer rating:
|
DB2/Sql: A Professional Programmer's Guide (J. Ranade Ibm Series)
Tim Martyn , and
Tim Hartley
Manufacturer: Mcgraw-Hill (Tx)
ProductGroup: Book
Binding: Hardcover
IBM DB2
| Specific Databases
| Databases
| Computers & Internet
| Subjects
| Books
General
| SQL
| Databases
| Computers & Internet
| Subjects
| Books
Database Management Systems
| Databases
| Computers & Internet
| Subjects
| Books
General
| Databases
| Computers & Internet
| Subjects
| Books
General
| Operating Systems
| Computers & Internet
| Subjects
| Books
General
| Software
| Computers & Internet
| Subjects
| Books
Mathematics
| Professional Science
| Professional & Technical
| Subjects
| Books
| Applied
| Chaos & Systems
| Geometry & Topology
| Mathematical Analysis
| Mathematical Physics
| Number Systems
| Pure Mathematics
| Transformations
| Trigonometry
ASIN: 0070406669 |
Average customer rating:
|
Oracle Distributed Systems: A C Programmer's Development Guide
Kenneth Webb , and
Lori Lafreniere
Manufacturer: Windcrest
ProductGroup: Book
Binding: Hardcover
Distributed Databases
| Databases
| Computers & Internet
| Subjects
| Books
General
| SQL
| Databases
| Computers & Internet
| Subjects
| Books
Database Management Systems
| Databases
| Computers & Internet
| Subjects
| Books
General
| Oracle
| Databases
| Computers & Internet
| Subjects
| Books
General
| Databases
| Computers & Internet
| Subjects
| Books
General
| C
| Programming
| Computers & Internet
| Subjects
| Books
General
| Programming
| Computers & Internet
| Subjects
| Books
General
| Languages & Tools
| Programming
| Computers & Internet
| Subjects
| Books
Mathematics
| Professional Science
| Professional & Technical
| Subjects
| Books
| Applied
| Chaos & Systems
| Geometry & Topology
| Mathematical Analysis
| Mathematical Physics
| Number Systems
| Pure Mathematics
| Transformations
| Trigonometry
High-Tech
| Industries & Professions
| Business & Investing
| Subjects
| Books
ASIN: 0830677747 |
Average customer rating:
|
Oracle/SQL: A Professional Programmer's Guide (J Ranade Ibm Series)
Tim Hartley , and
Tim Martyn
Manufacturer: Mcgraw-Hill (Tx)
ProductGroup: Book
Binding: Hardcover
General
| SQL
| Databases
| Computers & Internet
| Subjects
| Books
Database Management Systems
| Databases
| Computers & Internet
| Subjects
| Books
General
| Oracle
| Databases
| Computers & Internet
| Subjects
| Books
PL & SQL
| Oracle
| Databases
| Computers & Internet
| Subjects
| Books
SQL
| Oracle
| Databases
| Computers & Internet
| Subjects
| Books
General
| Databases
| Computers & Internet
| Subjects
| Books
General
| Programming
| Computers & Internet
| Subjects
| Books
Mathematics
| Professional Science
| Professional & Technical
| Subjects
| Books
| Applied
| Chaos & Systems
| Geometry & Topology
| Mathematical Analysis
| Mathematical Physics
| Number Systems
| Pure Mathematics
| Transformations
| Trigonometry
ASIN: 0070407754 |
Customer Reviews:
Learn SQL Fast............2000-12-06
In over 8 years I've never found a SQL book so thoroughly complete for SQL beginners. While the examples are specific to Oracle version 6.0, the principles are still as pertinent for version 8i. Approximately 90% of the teaching and information from this book can be applied to other dbms's. This is a must have for anyone who is just beginning to learn the Oracle SQL language.
Average customer rating:
|
PL/1 Programmer's Guide to Embedded SQL for DB2
Jonathan S. Sayles
Manufacturer: Tarquin Publications
ProductGroup: Book
Binding: Paperback
IBM DB2
| Specific Databases
| Databases
| Computers & Internet
| Subjects
| Books
General
| SQL
| Databases
| Computers & Internet
| Subjects
| Books
Database Management Systems
| Databases
| Computers & Internet
| Subjects
| Books
Databases
| Software
| Computers & Internet
| Subjects
| Books
General
| Programming
| Computers & Internet
| Subjects
| Books
General
| Languages & Tools
| Programming
| Computers & Internet
| Subjects
| Books
General
| Computers & Internet
| Subjects
| Books
Mathematics
| Professional Science
| Professional & Technical
| Subjects
| Books
| Applied
| Chaos & Systems
| Geometry & Topology
| Mathematical Analysis
| Mathematical Physics
| Number Systems
| Pure Mathematics
| Transformations
| Trigonometry
ASIN: 0894353462 |
Average customer rating:
- Travails of open source publishing
- Good content, bad presentation
|
Postgresql Programmer's Guide
Manufacturer: Iuniverse Inc
ProductGroup: Book
Binding: Paperback
General
| SQL
| Databases
| Computers & Internet
| Subjects
| Books
General
| Programming
| Computers & Internet
| Subjects
| Books
General
| Languages & Tools
| Programming
| Computers & Internet
| Subjects
| Books
ASIN: 0595149170 |
Book Description
Postgres, developed originally in the UC Berkeley Computer Science Department, pioneered many of the object-relational concepts now becoming available in some commercial databases. It provides SQL92/SQL3 language support, transaction integrity, and type extensibility. PostgreSQL is an open-source descendant of this original Berkeley code.
PostgreSQL Programmer's Guide describes version 7.0 of Postgres.
Chapters include: * Extending SQL * The Postgres Rule System * Interfacing Extensions To Indices * Linking Dynamically-Loaded Functions * Triggers * Server Programming Interface *Large Objects * libpq-C Library * libpq-C++ Binding Library * pgtcl-TCL Binding Library * ODBC Interface * JDBC Interface * Lisp Programming Interface * Overview of PostgreSQL Internals * Frontend/Backend Protocol * Postgres Signals * gcc Default Optimizations
Customer Reviews:
Travails of open source publishing.......2003-06-17
I haven't actually seen the book (nor spoken to the publisher), but can guess that it contains the documentation I (and others) had written while participating in PostgreSQL development.
I'm glad that someone has found the book to be useful, but wish that whoever published this as a hardcopy had taken the time to prepare an index (if in fact one is not present) and to organize the information in a more pleasing way.
My star rating is based solely on the other reviewer's evaluation.
Good content, bad presentation.......2001-11-29
You can tell this was written by back-end guys because the UI is terrible.
I am not sure what was used to write this book (I think DocBook) but it doesn't much take into account that humans will be reading it.
Glaringly absent is an index. Also the table of contents was polluted by giving seven lines for each function in the API list. Not to mention the API is in the middle of the book and visually confusing.
How did this book earn 3 stars from me? It does in fact contain content useful to anyone who wants to seriously hack on postgresql.
Books:
- Survey of Accounting: Making Sense of Business
- Swarm Intelligence (The Morgan Kaufmann Series in Artificial Intelligence)
- Teach Yourself VISUALLY Windows Vista (Teach Yourself VISUALLY (Tech))
- Ten Days in the Hills
- The Complete Book Of Gourd Craft: 22 Projects * 55 Decorative Techniques * 300 Inspirational Designs
- The Complete Idiot's Guide to Finance and Accounting (The Complete Idiot's Guide)
- The DV Rebel's Guide: An All-Digital Approach to Making Killer Action Movies on the Cheap (Peachpit)
- The Ernst & Young Guide to Performance Measurement For Financial Institutions: Methods for Managing Business Results Revised Edition
- The House of Morgan: An American Banking Dynasty and the Rise of Modern Finance
- The .NET Developer's Guide to Directory Services Programming (Microsoft .NET Development Series)
Books Index
Books Home
Recommended Books
- Global Sustainability: Bending the Curve
- Bernadotte: Napoleon's Marshal, Sweden's King
- The New Economics for Industry, Government, Education - 2nd Edition
- The Mitford Bedside Companion: A Treasury of Favorite Mitford Moments, Author Reflections on the Bes
- Unequal Protection: The Rise of Corporate Dominance and the Theft of Human Rights
- About Face 2.0: The Essentials of Interaction Design
- A bibliography of Edward Dahlberg,
- Auditing Local Union Financial Records: A Guide for Local Union Trustees
- The Sensory Order: An Inquiry into the Foundations of Theoretical Psychology
- Triple Identity: A Dan Gordon Intelligence Thriller