samehzagloul (12/9/2010)
The problem is that the join in the query is wrong where it joins on the xtype column of systypes it should use xusertype instead.
[font="Courier New"]Did you try the query before you say there was a wrong in the join[/font]
Yes, I did. Please don't shout.