Reputation: 2135
Is there anyway in SQL Server to determine the size in MEGS of data that a query returned in a query from Mgmt Studio in the Result Set?
Upvotes: 12
Views: 14160
Reputation: 10066
Create a table with query results and run sp_spaceused against it.
SELECT *
INTO tablename
FROM ...
Exec sp_spaceused 'tablename'
DROP TABLE tablename
Upvotes: 8
Reputation: 25008
You can turn on client statistics (Query menu, Include Client Statistics) which gives number of bytes returned from the server when the query is executed.
Upvotes: 29