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 3 of 17 Topic 3149 of 3234
Post > Topic >>

Re: Naming conventions for special database objects

by "Carl Kayser" <kayser_c@[EMAIL PROTECTED] > Apr 28, 2008 at 11:12 AM

"--CELKO--" <jcelko212@[EMAIL PROTECTED]
> wrote in message 
news:18cd6fae-b8d5-4fee-adc6-2f237fad9a6a@[EMAIL PROTECTED]
>>> I am currently doing a review of my personal database naming
conventions 
>>> and found that there are not much (good) examples in the
> literature for some special objects. <<
>
> Have you looked at the ISO-11179 Standards?  I happen to have a book
> on this topic, SQL PROGRAMMING STYLE, based on the Standards and few
> decades of research in code readability.
>

(SNIP)

>>> 5) Primary key constraints, Foreign key constraints ..<<
> I tend not to put a constraint on them at all.  Their nature does not
> change much so I don't need to reference them.

Obviously you meant "I tend not to put a constraint name on them at all." 
(My personal preference as well.)

 >If there is an error,
> then the message includes that they are PK or FK, so the constraint
> name adds no information.
>

Aren't you assuming that all DBMS vendors will provide adequate PK/FK info

(without the constraint name) when an error occurs?  There could be
multiple 
FK columns on a table which reference the same PK table (e.g., a PK  table

of valid states or countries).
 




 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 Wed Aug 20 8:08:11 CDT 2008.