A clear understanding of SQL Data Types and domains is a fundamental requirement for the Database Developer, but it is not elementary. If you select the most appropriate data type, it can sidestep a variety of errors. Furthermore, if you then define the data domains as exactly as possible via constraints, you can catch a variety of those problems that would otherwise bedevil the work of the application programmer.
2016-06-01 (first published: 2010-05-04)
26,910 reads
Having described tables, Joe Celko explains how to make them work together as a database and touches on what Entity Relationships and Views are.
2013-10-16 (first published: 2010-08-18)
18,281 reads
There are several types of tables, each with their special requirements for rules and integrity constraints. Whatever the requirement, table-level constraints will ensure that the rules are enforced and data integrity is maintained.
2013-09-18 (first published: 2010-05-25)
20,678 reads
Before you start to think about your database schema or tables, you need to consider your data: the type of data it is, the scale you use for values. It needs to be unique, precise and unambiguous. Then you need to name it in such a way that it can be generally understood. Joe Celko explains...
2013-07-03 (first published: 2010-04-27)
37,151 reads