Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OpenRowSet() and parameterization
Message
From
14/06/2021 15:04:31
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
OpenRowSet() and parameterization
Miscellaneous
Thread ID:
01681195
Message ID:
01681195
Views:
54
OpenRowSet() does not allow to use variables for its parameters. We have to either encapsulate the entire command into a string and SQL exec that or find another way. The first one is complicated as we loose the scope of our temporary table. Anyone has a better approach to resolve that issue?

The problem is that the interpreter for the Stored Procedure is very smart. It detects the name of the Excel file and will not compile if the file does not exist.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform