Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OpenRowSet() and parameterization
Message
De
15/06/2021 06:48:27
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01681195
Message ID:
01681212
Vues:
29
>Can you please provide a bit more of the context, what exactly you're trying to do?

OpenRowSet() can be used to select from various sources, among them, Excel files. We select into #Temp. One of the parameter is the full path of the file. This cannot be passed as a variable. The only way is to string everything, the entire command, and execute that.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform