1

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

1 Answer 1

2

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

4
  • ah ok you can mix the two then? Jan 6, 2011 at 17:41
  • but i have problems the other value was still there.. and if I click on it, the software hangs:-( Jan 6, 2011 at 18:54
  • @tintin how do you mean the other value was there ?
    – Sathyajith Bhat
    Jan 7, 2011 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. Jan 11, 2011 at 10:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .