dbTalk Databases Forums  

Is adding "On Update/Delete" Constraint considered change in schema??

comp.databases comp.databases


Discuss Is adding "On Update/Delete" Constraint considered change in schema?? in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Is adding "On Update/Delete" Constraint considered change in schema?? - 08-03-2006 , 10:40 AM






This is a theoretical question.

I am adding "On Update/Delete" constraints to an existing foreign key.
I think I am changing the schema. My colleague does not think so.
Who is correct??

Thanks in advance.
Manan


Reply With Quote
  #2  
Old   
Bill Karwin
 
Posts: n/a

Default Re: Is adding "On Update/Delete" Constraint considered change inschema?? - 08-03-2006 , 01:56 PM






mananvyas (AT) gmail (DOT) com wrote:
Quote:
I am adding "On Update/Delete" constraints to an existing foreign key.
I think I am changing the schema. My colleague does not think so.
Who is correct??
You are correct, adding those modifiers to the foreign key is a schema
change.

It's true that it does not add or remove any columns or tables. It also
doesn't change any existing data values, but it does change the way
DELETE or UPDATE works for the primary key of the referenced table.
This can have a significant impact on any application's workings, like
any other schema change.

So yes, you should follow such a schema change with thorough testing. ;-)

Regards,
Bill K.


Reply With Quote
  #3  
Old   
--CELKO--
 
Posts: n/a

Default Re: Is adding "On Update/Delete" Constraint considered change in schema?? - 08-05-2006 , 02:45 PM



Quote:
I am adding "On Update/Delete" constraints to an existing foreign key. I think I am changing the schema. My colleague does not think so.
Your colleague is an idiot.



Reply With Quote
  #4  
Old   
Lemming
 
Posts: n/a

Default Re: Is adding "On Update/Delete" Constraint considered change in schema?? - 08-28-2006 , 06:40 PM



On 5 Aug 2006 12:45:46 -0700, "--CELKO--" <jcelko212 (AT) earthlink (DOT) net>
wrote:

Quote:
I am adding "On Update/Delete" constraints to an existing foreign key. I think I am changing the schema. My colleague does not think so.

Your colleague is an idiot.
You misspelled "inexperienced".

Lemming
--
Curiosity *may* have killed Schrodinger's cat.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.