You are here: Re: Stored Proc Question : Why If Exisits...Drop...Create Proc? « MsSQL Server « IT news, forums, messages
Re: Stored Proc Question : Why If Exisits...Drop...Create Proc?

Posted by KJAmbrose on 06/18/06 20:21

Hopefully this person posted the answer below to the wrong original
question, because his answer makes absolutely no sense....



Cimode wrote:
> It is a limited scope attempt for correctly implementing UNIQUENESS on
> all table rows...If you want to understand why it is a *good* practice
> you need to learn more about rules of relational modeling and
> especially database design and definition of primary keys...
> Look for "Introduction to Database Systems" from CJ Date (at Amazon)
>
> Hope this helps...
> CK wrote:
> > Hi All,
> > Quick question, I have always heard it best practice to check for exist, if
> > so, drop, then create the proc. I just wanted to know why that's a best
> > practice. I am trying to put that theory in place at my work, but they are
> > asking for a good reason to do this before actually implementing. All I
> > could think of was that so when you're creating a proc you won't get an
> > error if the procedure already exists, but doesn't it also have to do with
> > Compilation and perhaps Execution. Does anyone have a good argument for
> > doing stored procs this way? All feedback is appreciated.
> > TIA,
> > ~CK

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация