I'm currently using SQL Server 2012, but I've noticed this behavior back several versions.
Say you run a SQL Server Profiler session. You then select a bunch of lines in the profiler, they get displayed in the bottom pane, I'm not sure what it's called, but it has the T-sql that's actually run by profiler in there.
However, if you look closely it truncates the queries. From copying and pasting, it appears that it can only hold 16k of data. Does anyone know of a way to increase this size, or any documentation of exactly what the limit is?
-Eric
1条答案
按热度按时间l5tcr1uw1#
I'd forgotten all about this thread. What I do now with SQL Server Profiler 18 is do a File > Export > Extract Sql Server Events. I then open the saved SQL Script in SSMS. I have also tried server side tracing, but I do still occasionally run into problems with huge LINQ queries where they still get truncated. See SQL Server Profiler text data gets truncated