Quantcast
Channel: Simple Thoughts Online
Viewing all articles
Browse latest Browse all 40

TOAD for SQL Server - hide empty tables

$
0
0
If you are using SQL server and TOAD and have a lot of empty tables that you do not want to show, you can use Object Explorer filter to add this code to prevent them from being shown: ISNULL((SELECT sum(spart.rows) FROM sys.partitions spart WHERE spart.object_id = obj.object_id AND spart.index_id < 2), 0) <> 0 Thanks TOAD forum for the help!

Viewing all articles
Browse latest Browse all 40

Trending Articles