
MS SQL query to pyodbc
- or -
Post a project like this1033
€10(approx. $12)
- Posted:
- Proposals: 4
- Remote
- #3765681
- Awarded
Description
Experience Level: Entry
Translate” bcp utility script to pyodbc syntax.
I have a couple of bcp scripts that query an instance of Azure SQL DB and write JSON files in the local computer.
I want to execute the scripts in a Python Jupyter notebook cell using pyodbc library.
I can connect to the Azure SQL DB from a Python Jupyter notebook using pyodbc.
The following variables are defined in a cell before executing the scripts:
server, database, username, and password.
The file names are always the same, the path however should also be taken from a variable named w_dir, also defined in a cell before executing the query.
I have a couple of bcp scripts that query an instance of Azure SQL DB and write JSON files in the local computer.
I want to execute the scripts in a Python Jupyter notebook cell using pyodbc library.
I can connect to the Azure SQL DB from a Python Jupyter notebook using pyodbc.
The following variables are defined in a cell before executing the scripts:
server, database, username, and password.
The file names are always the same, the path however should also be taken from a variable named w_dir, also defined in a cell before executing the query.
Angel B.
100% (38)Projects Completed
47
Freelancers worked with
30
Projects awarded
21%
Last project
2 Jun 2024
Spain
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies