Solved

View tables opened in SQL 2005

Posted on 2008-09-30
3
158 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
  • 2
3 Comments
 
LVL 142

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 142

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now