I’d like to use BCP.exe on a Azure web(or worker) role to download data from SQL Azure. To execute BCP.exe on Azure, what kind of DLLs should i copy as well?
thanks in advance!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to launch BCP.EXE periodically, what you can do is create a very small Launcher Program (just use which is depend on a conf file to launch BCP.EXE. You can put together these files as Startup Task to run in background so it will not affect the role execution process.
There could be another option to set scheduler to launch BCP.EXE and you can use a Startup task to configure the scheduler. This option does not require a launcher program but you need to run a configuration script in your startup task to make it happen.
About BCP.EXE: (components install location is here)
As I haven’t used BCP.EXE in Azure VM so what you really need is verify that above two installers (MSI for x64) does work on Azure VM first and if it does work for you, you can just create a startup task to download and install these files directly.