Hello, I am very happy cause i made it and now i know where and how to look for bad queries!
Thank you all for your precious time and answers of course.
One last question.
How can i have a column with the ip of the workstation that has opened the process? Can this be done?
Thank you.