Reputation: 931
Please suggest me a query to find temp database tables.
Upvotes: 10
Views: 19893
Reputation: 55489
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
Upvotes: 7