Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
lamujerdetuhermano10
Yak Posting Veteran
75 Posts |
Posted - 2008-08-20 : 16:30:30
|
| sql profiler. how do you find what stored procedure it is when u see a statement on textdata column? anyway to find out the stored procedure? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
lamujerdetuhermano10
Yak Posting Veteran
75 Posts |
Posted - 2008-08-20 : 16:36:45
|
| objectname says null |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
lamujerdetuhermano10
Yak Posting Veteran
75 Posts |
Posted - 2008-08-20 : 16:44:17
|
| all the events. I used the template tsql_sps |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2008-08-20 : 16:50:46
|
| If they are null, then you aren't looking at a query in a stored procedure. Take a look at the ones with "eventclass = 44". I typically run a trace with only the completed ones in it rather than the starting ones like in yours. I've been tracing a few hours today with RPC:Completed and SP:StmtCompleted. For me, I'd use "eventclass = 10" for the stored procedure level and then "eventclass = 45" for the statements inside.Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/Subscribe to my blog |
 |
|
|
lamujerdetuhermano10
Yak Posting Veteran
75 Posts |
Posted - 2008-08-20 : 17:06:08
|
| what do they hgave to do with finding what the stored procedure is called? |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|