SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


unable to see entire SQL Statement in profiler


unable to see entire SQL Statement in profiler

Author
Message
yuvipoy
yuvipoy
SSC Eights!
SSC Eights! (822 reputation)SSC Eights! (822 reputation)SSC Eights! (822 reputation)SSC Eights! (822 reputation)SSC Eights! (822 reputation)SSC Eights! (822 reputation)SSC Eights! (822 reputation)SSC Eights! (822 reputation)

Group: General Forum Members
Points: 822 Visits: 1387
I ran profiler but the column textdata does not give me the entire sql statement.

What is the reason?

how to export entire textdata column?

i did 2 way

1)
CREATE TABLE TraceResults (
TextData VARCHAR(4000),
Duration INT,
Reads INT,
Writes INT,
CPU INT,
StartTime DATETIME,
EndTime DATETIME,
ProcedureName VARCHAR(100)
)

Insert into TraceResults
SELECT TextData, Duration, Reads, Writes, CPU, StartTime,EndTime
FROM ::fn_trace_gettable('E:\tracename.trc',1)

2) Open the trace file and save as Trace Table

both did not gave me the entire Textdata. how can i get it, it limiting by 256 bytes
HanShi
HanShi
SSCarpal Tunnel
SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)

Group: General Forum Members
Points: 4428 Visits: 3672
yuvipoy (5/7/2014)
.....both did not gave me the entire Textdata. how can i get it, it limiting by 256 bytes


This could be the default limit in SSMS. Look in SSMS for the "properties" option in the "tools" menu. Expand the tree for "Query results" and check the settings in the "results to grid" and "results to text".

** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
yuvipoy
yuvipoy
SSC Eights!
SSC Eights! (822 reputation)SSC Eights! (822 reputation)SSC Eights! (822 reputation)SSC Eights! (822 reputation)SSC Eights! (822 reputation)SSC Eights! (822 reputation)SSC Eights! (822 reputation)SSC Eights! (822 reputation)

Group: General Forum Members
Points: 822 Visits: 1387
HanShi (5/7/2014)
yuvipoy (5/7/2014)
.....both did not gave me the entire Textdata. how can i get it, it limiting by 256 bytes


This could be the default limit in SSMS. Look in SSMS for the "properties" option in the "tools" menu. Expand the tree for "Query results" and check the settings in the "results to grid" and "results to text".


I think you entered here wrongly.
It is SQL server 200 it does not have SSMS.
and thats too setting value in SSMS i dont think it will resolve.. in profiler ;-)
jesikakarlos
jesikakarlos
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 3
I'm agree with you mate Smile
______________
fast weight loss pills, how to lose weight, slimming pills,cha de bugre

Smile
HanShi
HanShi
SSCarpal Tunnel
SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)

Group: General Forum Members
Points: 4428 Visits: 3672
yuvipoy (5/7/2014)
I think you entered here wrongly.
It is SQL server 200 it does not have SSMS.
and thats too setting value in SSMS i dont think it will resolve.. in profiler ;-)


I'm sorry. I didn't notice this thread was under the SQL2000 forum.

** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search