How is this done? I need to be able to do this for specific records only..
so if record A in table 1 gets updated, record A in table 2 gets the same
update also.
Thanks
Thanks
Naras.
table 2 gets the same update also. <<Quote:>> ... if record A [sic] in table 1 gets updated, record A [sic] in
Look up DRI actions in BOL and set up an ON UPDATE CASCADE action.
Rows are note records; columns are not fields and tables are not files.
If you were not thinking in terms of a file system, you'd know that the
"unit of work" in SQL is the **schema**, not the table (file). You
would see tables one and two as part of a whole and you would look for
mechanism to maintain a relationship between them.
The worst way would be to use a trigger. They give no help to the
optimizer and the code is highly proprietary as well as procedural.
--CELKO--
===========================
Please post DDL, so that people do not have to guess what the keys,
constraints, Declarative Referential Integrity, datatypes, etc. in your
schema are.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Best regards
NIITMALAD
specific records only..Quote:>-----Original Message-----
>How is this done? I need to be able to do this for
table 2 gets the sameQuote:>so if record A in table 1 gets updated, record A in
Quote:>update also.
>Thanks
>.
1. Update record with data from another record in the same table
2. Play an AVI from a reference file?
4. Visual Basic
5. I am getting duplicate records, I mean everything is duplicate even Access record number
6. Call for Papers: Multimedia Storage and Archiving Systems II
7. UPDATE with multiple records per updated record?
8. Cached Updates QUESTION: Sorting table of updated and non-updated records
9. 1 table for many records or many tables with few records
10. Cannot add record to Visual Foxpro table after deleting all records in table
11. one table with lots of records or more table with less records