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 > Databases General > Re: Naming conv...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 17 Topic 3149 of 3270
Post > Topic >>

Re: Naming conventions for special database objects

by Philipp Post <Post.Philipp@[EMAIL PROTECTED] > Apr 29, 2008 at 06:09 AM

Marco,

you will not find examples on naming boolean columns in "SQL
programming style" as page 42 mentiones, this data type should be
avoided. Indeed in most cases there are better ways to model the data
than with BIT columns. In cases where you can not avoid it (or choose
not to do), naming it with Is... or Has... is suggested by [Mauss
2004], [Watt 2004] to ensure that the meaning of the data is not
ambiguous. See these links:
http://weblogs.asp.net/jamauss/articles/DatabaseNamingConventions.aspx
http://justinsomnia.org/writings/naming_conventions.htm

Such convention is also used in the .NET framework (remember, it has
nothing to do with databases) for boolean values, but I could not
locate the rule for it in
http://msdn2.microsoft.com/en-us/library/ms229045.aspx

Personally I like the pascal case naming convention there what solves
the problem of acronyms and abbreviations and says that all
abbreviations with two letters are to be uppercased, such as ID or DB
and with three or more letters follow the pascal case convention, i.
e. first upper, following lower cased e.g. EanCode.

brgds

Philipp Post
 




 17 Posts in Topic:
Naming conventions for special database objects
Philipp Post <Post.Phi  2008-04-27 13:13:06 
Re: Naming conventions for special database objects
--CELKO-- <jcelko212@[  2008-04-28 07:28:09 
Re: Naming conventions for special database objects
"Carl Kayser" &  2008-04-28 11:12:23 
Re: Naming conventions for special database objects
--CELKO-- <jcelko212@[  2008-04-28 13:00:10 
Re: Naming conventions for special database objects
Philipp Post <Post.Phi  2008-04-29 05:01:58 
Re: Naming conventions for special database objects
Marco Mariani <marco@[  2008-04-29 14:27:31 
Re: Naming conventions for special database objects
Philipp Post <Post.Phi  2008-04-29 06:09:15 
Re: Naming conventions for special database objects
Marco Mariani <marco@[  2008-04-29 16:11:07 
Re: Naming conventions for special database objects
--CELKO-- <jcelko212@[  2008-04-29 08:22:47 
Re: Naming conventions for special database objects
--CELKO-- <jcelko212@[  2008-04-29 08:41:10 
Re: Naming conventions for special database objects
Marco Mariani <marco@[  2008-04-30 11:13:44 
Re: Naming conventions for special database objects
Philipp Post <Post.Phi  2008-04-29 11:08:57 
Re: Naming conventions for special database objects
Marco Mariani <marco@[  2008-04-30 11:15:33 
Re: Naming conventions for special database objects
Philipp Post <Post.Phi  2008-04-29 11:16:55 
Re: Naming conventions for special database objects
--CELKO-- <jcelko212@[  2008-04-29 14:42:25 
Re: Naming conventions for special database objects
--CELKO-- <jcelko212@[  2008-04-30 08:38:46 
Re: Naming conventions for special database objects
Marco Mariani <marco@[  2008-04-30 18:39:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Mon Oct 13 7:41:22 CDT 2008.