Joe Celko's SQL Programming Style

  • 3h 23m
  • Joe Celko
  • Elsevier Science and Technology Books, Inc.
  • 2005

Are you an SQL programmer that, like many, came to SQL after learning and writing procedural or object-oriented code? Or have switched jobs to where a different brand of SQL is being used, or maybe even been told to learn SQL yourself?

If even one answer is yes, then you need this book. A "Manual of Style" for the SQL programmer, this book is a collection of heuristics and rules, tips, and tricks that will help you improve SQL programming style and proficiency, and for formatting and writing portable, readable, maintainable SQL code. Based on many years of experience consulting in SQL shops, and gathering questions and resolving his students' SQL style issues, Joe Celko can help you become an even better SQL programmer. More specifically, this book will give you expert advice from a noted SQL guru and award-winning columnist and will:

  • Help you write Standard SQL without an accent or a dialect that is used in another programming language or a specific flavor of SQL, code that can be maintained and used by other people.
  • Enable you to give your group a coding standard for internal use, to enable programmers to use a consistent style.
  • Give you the mental tools to approach a new problem with SQL as your tool, rather than another programming language—one that someone else might not know!

About the Author

Joe Celko is a noted consultant, lecturer, teacher, and one of the most-read SQL authors in the world. He is well known for his ten years of service on the ANSI SQL standards committee, his dependable help on the DBMS CompuServe Forum, his column in Intelligent Enterprise (which won several Reader's Choice Awards), and the war stories he tells to provide real-world insights into SQL programming. His best-selling books include Joe Celko's SQL for Smarties: Advanced SQL Programming, Joe Celko's SQL Puzzles and Answers, and Joe Celko's Trees and Hierarchies in SQL for Smarties, all published by Morgan Kaufmann.

In this Book

  • Names and Data Elements
  • Fonts, Punctuation, and Spacing
  • Data Declaration Language
  • Scales and Measurements
  • Data Encoding Schemes
  • Coding Choices
  • How to Use VIEWS
  • How to Write Stored Procedures
  • Heuristics
  • Thinking in SQL