|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, February 22, 2013 1:04 PM
Points: 1,
Visits: 8
|
|
Hi,
Is there a way to do client-side tracing of the SQL commands being sent from a client box to a SQL Server server without using the SQL Profiler or the sp_trace* stored procedures?
I have a packaged application that is poorly documented and has poor reporting capabilities. I need to write queries against the database tables, in some cases without knowing what tables I'm even dealing with. The outsourced IT company managing our servers has been uncooperative with my requests for access to either the SQL Profiler or the underlying stored procedures.
I'd like to be able to capture the SQL passing from the client app to the server when I perform a function in the app in order to jump-start the process of identifying the table(s) involved in the particular form I'm working in. Once I know the tables and a bit of the SQL, I would be better positioned to write my own customized versions of the queries.
Can this be done?
Thanks for any help you can give.
Wayne
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 8:44 PM
Points: 6,826,
Visits: 11,948
|
|
Is the client app using the SQL Server Native Client? If so you might be able to trace activity that way:
Tracing SQL 2008 SNAC
I am not sure if the same tracing capabilities were available in the 2005 native client but it might be worth a look.
__________________________________________________________________________________________________ There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Believe you can and you're halfway there. --Theodore Roosevelt
Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein
The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein
1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Friday, June 14, 2013 1:10 PM
Points: 170,
Visits: 827
|
|
wayne_dyck (2/20/2013) Hi, The outsourced IT company managing our servers has been uncooperative with my requests for access to either the SQL Profiler or the underlying stored procedures.Run SQL Profiler against your dev server or your local box.
Alex Suprun
|
|
|
|