Xaprb

Stay curious!

Archive for the ‘orm’ tag

The power of a good SQL naming convention

with 15 comments

At my previous employer, one of the early decisions that had huge payoffs later was the SQL naming conventions. A good naming convention is more than just a nicety. It lets you write programs that don’t need to be told about the relationships among tables and columns.

There are many ways to do this, I think. But in practice, I think I’ve seen only a few customer systems that have a completely consistent, logical naming convention. And there are levels of convenience; some systems have a couple extra rules that make a big difference.

In this post I’ll explain the components of my ideal naming conventions.

Read the rest of this entry »

Written by Xaprb

October 26th, 2008 at 2:43 pm

Posted in Coding

Tagged with , , ,