Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > Re: table namin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 11179 of 11517
Post > Topic >>

Re: table naming convention about this case..

by --CELKO-- <jcelko212@[EMAIL PROTECTED] > Jun 25, 2008 at 02:15 PM

>> I've read some article about naming convention and they all say don't
use number in the table name. <<

The reason for that heuristic is that it is a sign of attribute
splitting -- that is, instead of having one table to model, say,
Personnel, you have split that set over smaller tables based on some
attribute, say, office number.  Personnel_001, Personnel_002, etc.
will be joined back together and have to be validated constantly.  It
is often a newbie error of confusing a file (mag tapes in particular)
with tables.

>> I have to im****t 2 flat files from FTP for OLAP use. Both of these
files contain similar information, Customer data. <<

Look for what the table *is* by its nature.  Your short descriptions
would lead me to guess at "CustomerDemographics" for A and
"CustomerSomething" for B, where something is what kind of data you
are getting -- purchases, survey results, etc.  Oh, never use that
silly "tb-" affix on a table name (see ISO-11179); it tell us HOW the
data is stored, not what it is by its nature.  Since we only have
tables in SQL, it is really redundant.

Do you have a copy of my SQL PROGRAMMING STYLE yet?
 




 6 Posts in Topic:
table naming convention about this case..
PENANCY@[EMAIL PROTECTED]  2008-06-25 08:47:39 
Re: table naming convention about this case..
--CELKO-- <jcelko212@[  2008-06-25 14:15:34 
Re: table naming convention about this case..
"Eric J. Holtman&quo  2008-06-26 10:28:17 
Re: table naming convention about this case..
Sybaseguru <collap@[EM  2008-06-25 22:50:17 
Re: table naming convention about this case..
PENANCY@[EMAIL PROTECTED]  2008-06-26 07:23:24 
Re: table naming convention about this case..
--CELKO-- <jcelko212@[  2008-06-26 11:54:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 1:11:20 CST 2008.