Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Determine used fields/tables in database
Greetings to all!

I was curious if there was a way to determine what fields are in use by
stored procedures and/or views in a database.  If there's a way through
SQL or through VB .NET, I would be most appreciative to learn about it.

Thanks,

Kyjan


Report this thread to moderator Post Follow-up to this message
Old Post
Kyjan
03-01-06 01:23 AM


Re: Determine used fields/tables in database
"Kyjan" <HolySaphAngel@gmail.com> wrote in message
news:1141065761.449583.226070@u72g2000cwu.googlegroups.com...
> Greetings to all!
>
> I was curious if there was a way to determine what fields are in use by
> stored procedures and/or views in a database.  If there's a way through
> SQL or through VB .NET, I would be most appreciative to learn about it.
>
> Thanks,
>
> Kyjan
>

There may be an easier way,  but you might look at how the sp_depends sproc
does it.



Rick Sawtell
MCT, MCSD, MCDBA




Report this thread to moderator Post Follow-up to this message
Old Post
Rick Sawtell
03-01-06 01:23 AM


Re: Determine used fields/tables in database
This way does not look at views.  Is there a way to include those?

Kyjan


Report this thread to moderator Post Follow-up to this message
Old Post
Kyjan
03-01-06 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 10:33 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006