Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Openquery in stored proc
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00849081
Message ID:
00849916
Views:
21
>Hi,
>I have another question about OPENQUERY in my stored proc. Is it possible to pass the linked server name as a parameter to my stored proc? It will be helpfull, but the first parameter of OPENQUERY is linked_server type, but i can't declare a parameter of this type...

Marc,

AFAIK, the OPENQUERY() doesn't accept local variables as it's parameters. Using dynamic SQL maybe a way around it.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform