Viewing 3 posts - 1 through 3 (of 3 total)
Please ignore this topic.
I am a newbie and I created a topic when I was trying to post a reply to a topic.
August 7, 2012 at 8:36 am
#1522640
Include usage of indexes on views?
Something like:
Change: INNER JOIN sys.tables st ON st.[object_id] = si.[object_id]
To: INNER JOIN sys.objects st ON st.[object_id] = si.[object_id] AND st.type IN ('U','V')
Your script will be...
August 7, 2012 at 8:33 am
#1522637
With XML you can return many recordsets (say a complex hierarchy) in a single xml document, a single database hit.
February 15, 2005 at 12:24 am
#542196