Today when a SQL query is listed in the trace-details view parameters is outputed as a comment:
/* Query Parameters
* @0 := '0e70d9.....'
* @1 := '0'
* @2 := '30'
It would be very nice if these would have been valid T-SQL so that one can just copy paste the query into SSMS.
DECLARE @0 uniqueidentifier = '0e70d9.....'
DECLARE @1 int = 0
DECLARE @2 int = 30