|
-
May 4th, 2005, 09:25 AM
#1
sp_help problem
At Query Anlyser,from Master database, this works
select * from test..tt
but not this
sp_help 'test..tt'
test is dbname and tt is table name
any reason?
Madhivanan
Failing to plan is Planning to fail
-
May 5th, 2005, 08:27 AM
#2
Re: sp_help problem
Because!
The sp_help procedure looks for an object in the current database only.
So it is by design.
And So it will work if U do this:
Code:
USE test
EXEC sp_help 'test..tt'
Best regards,
Krzemo.
-
May 5th, 2005, 01:29 PM
#3
Re: sp_help problem
Another way to do is like so
EXEC test..sp_help 'tt'
-
May 6th, 2005, 12:34 AM
#4
Re: sp_help problem
 Originally Posted by antares686
Another way to do is like so
EXEC test..sp_help 'tt'
Thanks
It worked
Madhivanan
Failing to plan is Planning to fail
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|