Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in SQL Server only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
SQL Server
how to get the list of tables used in a storedprocedure
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
shivakrishna
New Member
Join Date:
Oct 2008
Posts:
3
#1
how to get the list of tables used in a storedprocedure
Oct 29 '08, 02:34 PM
how to get the list of all tables and views used in storedprocedure
can any one help in this issue
ck9663
Recognized Expert
Specialist
Join Date:
Jun 2007
Posts:
2878
#2
Oct 29 '08, 05:05 PM
This is a little tricky since a VIEW and table-function can sometimes act as tables. Although function should have the parenthesis. There's also a table variable and temp tables.
Do it the old fashion way: Read the stored proc.
Good luck
-- CK
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment