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 - 2002-06-04 : 08:19:06
|
muralee writes "i had atable like this pid name parent ---- ---- ------ 1 a 0 2 b 1 3 c 1 4 d 2 5 e 4 6 f 5 if i delete pid = 1 then i need all the child and grand child records with root 1 get deletedplz reply in this case if u delete 2 it should delete (4,5,6)" |
|
|
davy_boy2000
Starting Member
28 Posts |
Posted - 2002-06-04 : 08:25:30
|
| Looking at the logic though, if you delete 1, then you delete all!! |
 |
|
|
|
|
|