Provides heuristics, rules, tips, and tricks that intend to help readers improve their SQL programming style and proficiency, and format and write portable, readable, maintainable SQL code. This book enables readers to give their group a coding standard for internal use, to enable programmers to use a consistent style.
Joe Celko's SQL Programming Style
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!
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.
Chapter 1: Names and Data ElementsChapter 2: Fonts, Punctuation, and SpacingChapter 3: Data Declaration LanguageChapter 4: Scales and MeasurementsChapter 5: Data Encoding SchemesChapter 6: Coding ChoicesChapter 7: How to Use ViewsChapter 8: How to Write Stored ProceduresChapter 9: HeuristicsChapter 10: Thinking in SQL
"Joe Celko, maybe one of the most prominent representatives of the database community these days, has written some of the best books about SQL programming in general. This book, however, is different. "SQL Programming Style" doesn't teach you how to become a better SQL developer with SQL puzzles and brainteasers. Rather, it shows you "how to work in logical and declarative terms"." - , August 17, 2006
A collection of heuristics and rules for formatting and writing portable, readable, maintainable SQL code.
" SQL Programming Style doesn't teach you how to become a better SQL developer with SQL puzzles and brainteasers. Rather, it shows you "how to work in logical and declarative terms"." -- , August 17, 2006
A collection of heuristics and rules for formatting and writing portable, readable, maintainable SQL code.
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!