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.
+ 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!
What people are saying - Write a review
We haven't found any reviews in the usual places.
2 Fonts Punctuation and Spacing
3 Data Declaration Language
4 Scales and Measurements
5 Data Encoding Schemes
6 Coding Choices
7 How to Use VIEWS
8 How to Write Stored Procedures
application attribute auto-numbering base table CamelCase character clause COBOL column name common constraints CREATE PROCEDURE CREATE TABLE CREATE VIEW cursor data element data element names data model data type database day_nbr DECLARE DEFAULT DELETE digits domain Dynamic SQL encoding schemes example Exceptions execution expression Foobar function identifier implementation INNER JOIN input_string INSERT INTEGER NOT NULL IPC.urn LANGUAGE SQL logical look lowercase measurement metadata module newbie newsgroups NULL CHECK NULL NULL NULL PRIMARY KEY NULL REFERENCES optimizer ordinal scales OUTER JOIN P1.name physical predicate PRIMARY KEY problem procedural programming programming language proprietary punchcard query Rationale RDBMS rules scales SELECT COUNT set-oriented SQL engine SQL products SQL programmers SQL Server SQL/PSM Standard SQL start_date store_nbr stored procedure subquery SurveyForms syntax T-SQL table name Teradata things TIMESTAMP triggers units uppercase value exp vendor week_nbr WeeklyReport write zero