Oracle Database 10g PL/SQL 101 / Edition 1
by Christopher AllenISBN-10: 0072255404
ISBN-13: 9780072255409
Pub. Date: 08/10/2004
Publisher: McGraw-Hill Professional Publishing
Obtain the solid foundation you need to become an effective database programmer with this nuts-and-bolts PS/SQL book from Oracle Press. Step-by-step coverage includes storing, retrieving, and manipulating data, and a broad range of SQL and PL/SQL functions and tools. Real-life examples and hands-on projects help you see how to apply what you have learned.
Overview
Obtain the solid foundation you need to become an effective database programmer with this nuts-and-bolts PS/SQL book from Oracle Press. Step-by-step coverage includes storing, retrieving, and manipulating data, and a broad range of SQL and PL/SQL functions and tools. Real-life examples and hands-on projects help you see how to apply what you have learned.
Product Details
- ISBN-13:
- 9780072255409
- Publisher:
- McGraw-Hill Professional Publishing
- Publication date:
- 08/10/2004
- Series:
- Oracle Press Series
- Pages:
- 416
- Product dimensions:
- 7.30(w) x 9.00(h) x 0.81(d)
Table of Contents
| Acknowledgments | xiii | |
| Introduction | xv | |
| Part I | Database Basics | |
| 1 | Introduction to Databases | 3 |
| What Exactly Is a Database? | 4 | |
| How Is a Database Different from a Spreadsheet? | 7 | |
| How Will Knowing This Help You? | 11 | |
| History of SQL | 12 | |
| SQL Command Categories | 13 | |
| Chapter Summary | 15 | |
| Chapter Questions | 16 | |
| Answers to Chapter Questions | 18 | |
| 2 | Storing and Retrieving Data: The Basics | 21 |
| Putting Your Toe in the Water | 22 | |
| Creating Tables | 26 | |
| Inserting Data--Additional Techniques | 41 | |
| Viewing Data--Additional Techniques | 46 | |
| Chapter Summary | 54 | |
| Chapter Questions | 56 | |
| Answers to Chapter Questions | 58 | |
| 3 | Advanced Data Manipulation | 61 |
| Limit Which Records You Select | 62 | |
| Change the Order of Records | 72 | |
| Show Only Unique Values | 75 | |
| Select from DUAL | 78 | |
| Modify Data In a Table | 78 | |
| Remove Records from a Table | 81 | |
| Transaction Control | 83 | |
| Chapter Summary | 89 | |
| Chapter Questions | 90 | |
| Answers to Chapter Questions | 92 | |
| 4 | Controlling SQL*Plus | 93 |
| Edit Prior Commands | 94 | |
| Copy and Paste | 99 | |
| Clear the SQL*Plus Screen | 102 | |
| Customize the SQL*Plus Environment | 103 | |
| Produce More Readable Output | 106 | |
| Spool Output to Disk | 113 | |
| SQL Script Files | 114 | |
| Chapter Summary | 118 | |
| Chapter Questions | 119 | |
| Answers to Chapter Questions | 120 | |
| Part II | Advanced SQL | |
| 5 | SQL Functions | 123 |
| Commonly Used Single-Row Functions | 125 | |
| Commonly Used Group Functions | 174 | |
| Chapter Summary | 179 | |
| Chapter Questions | 180 | |
| Answers to Chapter Questions | 182 | |
| 6 | Using Indexes and Constraints | 183 |
| Indexes | 186 | |
| Ensure Data Integrity: Constraints | 195 | |
| Relationships Between Tables | 211 | |
| Write Subqueries | 230 | |
| Chapter Summary | 235 | |
| Chapter Questions | 236 | |
| Answers to Chapter Questions | 238 | |
| 7 | Other Useful Oracle Techniques | 239 |
| Transfer Data Between Tables | 244 | |
| Rename Tables | 253 | |
| Alter a Table's Structure | 253 | |
| Views | 260 | |
| Other Database Objects | 264 | |
| Chapter Summary | 273 | |
| Chapter Questions | 274 | |
| Answers to Chapter Questions | 277 | |
| Part III | Create Programs Using PL/SQL | |
| 8 | Introduction to PL/SQL | 281 |
| What Is PL/SQL? | 282 | |
| Structure of a PL/SQL Block | 289 | |
| Create a Simple PL/SQL Procedure | 293 | |
| PL/SQL Variables and Constants | 296 | |
| Control Structures in PL/SQL | 300 | |
| Error Handling | 313 | |
| Chapter Summary | 319 | |
| Chapter Questions | 319 | |
| Answers to Chapter Questions | 321 | |
| 9 | More PL/SQL Tools | 323 |
| Coding Conventions | 327 | |
| More on PL/SQL and Oracle Server Interaction | 329 | |
| Timing Operations | 341 | |
| PL/SQL Packages | 345 | |
| Triggers | 351 | |
| XML | 359 | |
| Chapter Summary | 359 | |
| Chapter Questions | 360 | |
| Answers to Chapter Questions | 361 | |
| Glossary of Common Oracle Terms | 363 | |
| Index | 375 |
Customer Reviews
Average Review:
Most Helpful Customer Reviews
I liked the information that the book provided and found it easy to follow. I thought the author provided a little too much history as far as SQL; the first 7 chapters covered more SQL than PL/SQL. But I found this book to be informative and would buy it again.
|
