-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: VinodK [TLabs, SCT]
Message 4 in Discussion

Hmmm ,   >> we have alter more than 100+ Tables in the production environment  Writing 
a script and running the same is easier ... A primary key is one of the most important 
"properties" of a table and it is not very likely to change. And writing a script to 
generate this trigger with hardcoded Primary key can solve the whole problem. And this 
is very easy with the metabase tables we have ...   And I am not able to understand 
the comparision made with the Oracle ROWID out here ... And so is the work around ... 
If you can post the SQL script then I may be in a position to comprehend I think ... 
Not sure here also ...    I strongly recommend that you not write a trigger that is so 
genric and tries to find the PKey every time the trigger is fired ... This might turn 
out to be a big performance degradation ... I am sure that you may atlast come with a 
solution that is interim ... But in the long run to maintain such applications and 
upgrading such work arounds becomes a nightmare for the implementors ...   Thanks, 
Vinod Kumar Microsoft India Community Star www.extremeexperts.com 
  

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to