I would like to delete this one in the db visualizer and not sure if I am writing the correct syntax:

enter image description here

I also see that the idsapusertype 25 is also linked to idsapusertypedetails 75 and 76. Can I use this one?

delete from sap_user_type_details where idsapusertypedetails = 77

or

delete from sap_user_type_details where idsapusertype = 25
link|improve this question

76% accept rate
feedback

1 Answer

up vote 2 down vote accepted

It should be delete from sap_user_type_details where idsapusertypedetails = 77 since idsapusertype = 25 condition matches other records.

For best results, delete from sap_user_type_details where idsapusertypedetails = 77 and idsapusertype = 25

link|improve this answer
ah ok you can mix the two then? – tintincutes Jan 6 '11 at 17:41
ey, that was easy. Thanks:-) – tintincutes Jan 6 '11 at 17:45
but i have problems the other value was still there.. and if I click on it, the software hangs:-( – tintincutes Jan 6 '11 at 18:54
@tintin how do you mean the other value was there ? – Sathya Jan 7 '11 at 3:30
thanks for helping. I was able to figure it out. I've seen that there are other tables which are link so I also have to delete it first. Now it's working. – tintincutes Jan 11 '11 at 10:36
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.