Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Jdang67
Starting Member
3 Posts |
Posted - 2009-09-22 : 11:44:38
|
| Hi,I have seen some examples to select the result set which is return from stored procedure with openQuery option but I cannot make it works. Here is my sql and I do not use link server in this case.SELECT * FROM OPENQUERY ('execute dbo.GetParts ''HOU'', -1 ')Do you see any wrong with my sql?thanks,JDang |
|
|
bscott
Starting Member
1 Post |
Posted - 2009-09-22 : 14:38:25
|
| try this:SELECT * FROM OPENQUERY (linkedservername, 'execute dbo.GetParts ''HOU'', -1 ') |
 |
|
|
|
|
|