Thanks George - That's a big step in the right direction. However it's still not working. What's the difference between running the above code, which returns the error message:
Msg 3701, Level 11, State 5, Line 1
Cannot drop the table 'XXX_012007.Dbo.PT', because it does not exist or you do not...