title: How do I measure the cost of a T-SQL query on the wire?
body: <p>How can I calculate the size of a T-SQL query in bytes transfered across the network?</p>
  
  <p>I know I can approximate it by examining data types of columns (varchars are an interesting twist though), but are there tools that'll give me the number of bytes (including and excluding TCP/IP headers) used up while transferring the query and its results to and from the SQL Server?</p>