DBCC OUTPUTBUFFER (Transact-SQL)
SQL Server 2012
Returns the current output buffer in hexadecimal and ASCII format for the specified session_id.
DBCC OUTPUTBUFFER returns the following (values may vary):
Output Buffer ------------------------------------------------------------------------ 01fb8028: 04 00 01 5f 00 00 00 00 e3 1b 00 01 06 6d 00 61 ..._.........m.a 01fb8038: 00 73 00 74 00 65 00 72 00 06 6d 00 61 00 73 00 .s.t.e.r..m.a.s. '...' 01fb8218: 04 17 00 00 00 00 00 d1 04 18 00 00 00 00 00 d1 ................ 01fb8228: . (33 row(s) affected) DBCC execution completed. If DBCC printed error messages, contact your system administrator.