Solved

View tables opened in SQL 2005

Posted on 2008-09-30
3
163 Views
Last Modified: 2012-05-05
Is there a way to view the opened tables under SQL 2005 when a user access a ERP application ? Hence, I could find out the right tables to build the reports.
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22603284
you could run a SQL profiler trace, and there all the sql run against the database.
that's the way to go, you just have to set up to get all the sql:starting, and filter eventually by the user/database ...
0
 

Author Comment

by:AXISHK
ID: 22603377
For "sql-starting", is the the Events  TSQL --> SQL:StmtStarting and ignore the other events ?

For filter "user/database",  do you mean "Column Filters.." Button --> LoginName ?

I'm using SQL 2005.

Many thanks.
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 22603390
>For "sql-starting", is the the Events  TSQL --> SQL:StmtStarting and ignore the other events ?

yes

>For filter "user/database",  do you mean "Column Filters.." Button --> LoginName ?

yes
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question