LutzM (7/19/2014)
Seems like there are some views involved since there's no reference to Tbl1008 in the code you've posted.Most probably the underlying data structure has changed without notice (as usual when dealing with that "software").
Since you're forced to deal with the three-letter cussword you might need to spend a few thousand bucks for a "consultant"....
+10
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events