User Deleting SQL Procedure

Hi All
Anyone has a script to delete everything about user, partner employee?

Thanks

you want to delete the demo data ?

I want delete an user and everything related to it. Not necessary demo data…

ok , i try to find the relations for order SQL statements

1 « J'aime »

Would be great.
Maybe a procedure where you give user ID input and delete everything safetely
Thanks

Hi there, I would also be interested in how to do that.
I had a conflict and then tried to delete users, but that didn’t work.
Thanks

Hi @derlui
Yes you will get many conflicts due the high number of keys and constraints for each user