Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-04-20 : 10:04:21
|
| sagi writes "I have a table called itemmaster in my database, I generated a Itemcode for each row, this value is used in somany tables in my databasenow the question is if I generated new itemcode so how to update the database so that all the tables that contain old itemcode will be updated to new itemcodeThankssagi" |
|
|
X002548
Not Just a Number
15586 Posts |
Posted - 2004-04-20 : 12:38:26
|
| Look up Cascade in BOLAhhh..surrogate keys...Brett8-) |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2004-04-20 : 12:53:35
|
| You could also use a trigger for this.Tara |
 |
|
|
|
|
|