Please suggest me a query to find temp database tables.
2 Answers
All temp tables created are stored in the tempdb available on sql server. So run this query in tempdb, you will find available temp tables on the server -
select * from sysobjects where "xtype" = 'u'
Hope this will help you
1 Comment
Simhadri
It also works good but Martin's solution is better I feel.Thanks for your time.