Groups | Blog | Home
all groups > sql server (alternate) > february 2006 >

sql server (alternate) : Create New Table advice


aplatfl
2/28/2006 7:04:16 AM
I am creating a table that will store my companys annual punctuality
scale. What is the best way to name the columns? Here is some sample
rows with data.

--------------------------------------
DPT_CODE_1 | 300 | 121 | 120 | 61 | 60
DPT_CODE_2 | 360 | 241 | 240 | 121 | 120

Thanks for any advice.
Aplatfl
Jack Vamvas
3/1/2006 12:00:00 AM
1.Avoid reserved words
2.singular or plural , it probably doesn't matter


--
Jack Vamvas
___________________________________
Receive free SQL tips - www.ciquery.com/sqlserver.htm


[quoted text, click to view]

Greg D. Moore (Strider)
3/1/2006 1:13:46 AM

[quoted text, click to view]

Umm, name the columns based on what they represent.

The following rows don't have any meaning to them.

I mean I could simply name them: Code, Number1, Number2, Number3, Number4,
Number5 but that's not very useful.

[quoted text, click to view]

AddThis Social Bookmark Button