|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
old Queries / views
We have several programmers creating queries / views and then reports and forms. As the Database Administrator, I have seen several situations where a query or view is created, and never used. Is there anything available within Access or SQL that can identify if a view or query is being utilized, and when the last time it was used? This would be helpful with forms and reports as well.
Any help is appreciated. |
|
#2
|
||||
|
||||
|
In SQL Server you can right click the view...Select "All Tasks" > "Display Dependencies". If there are no dependencies, then the view isn't active.
|
|
#3
|
|||
|
|||
|
Thank you
|
|
#4
|
|||
|
|||
|
Memnoch
Does "Display Dependencies" show views queries that are referenced in code and needed to programs to run correctly??? I don't believe that is does. S- |
|
#5
|
||||
|
||||
|
it just shows the object(s) (tables, other views, etc...) the view is dependent upon.
I was going to add for GaryN. That even if there are dependencies listed, there is still no easy way to determine if the view is being used or not...other than in the code of the application itself. This also makes me wonder why M$ allows for Stored Procedures to be recompiled when the tables are modified, but Views aren't. Last edited by Memnoch : December 22nd, 2003 at 03:09 PM. |
|
#6
|
|||
|
|||
|
I had posted this question to other forums and received information stating that there is software offered by "Speed ferret" that will provide the actions I had requested. Do you know anything about this software? The web address is www.speedferret.com
|
![]() |
| Viewing: ASP Free Forums > Database > Microsoft Access Help > old Queries / views |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|