Thanks a lot everybody.
I've used the following statement on insert
SET ANSI_WARNINGS OFF
insert into TraceResults(TextData, Duration, Reads, Writes, CPU, StartTime, LoginName, NTUserName)
select TextData, Duration/1000, Reads, Writes, CPU, StartTime, LoginName, NTUserName
from fn_trace_gettable('D:\Traces\Troubleshoot-TRACES.trc',1)
SET ANSI_WARNINGS ON
Is there any problem to the final result?
Regards,
JMSM 😉