pypyodbc Questions

2

Solved

I am running Python 3.5 on my Linux Mint 18. I want to load the pypyodbc module. However, no matter what I try, I always get the error: OdbcNoLibrary: 'ODBC Library is not found. Is LD_LIBRARY_PA...
Lesotho asked 29/6, 2017 at 13:4

3

Solved

I need to send unicode to SQL Server with Python 2.7. I failed with pymssql. I'm now trying to get pypyodbc working (as opposed to pyodbc), as it gives working unicode examples. The problem is that...
Exhalant asked 15/4, 2013 at 21:24

4

Solved

Can the cursor.execute call below execute multiple SQL queries in one go? cursor.execute("use testdb;CREATE USER MyLogin") I don't have python setup yet but want to know if above form is...
Tigrinya asked 5/1, 2022 at 7:30

3

Solved

I am trying to create an 'upsert' function for pypyodbc SQL Server. I have validated that the query built up will run in SSMS with the desired outcome, but when trying to execute and commit with py...
Illyes asked 25/1, 2019 at 22:30

10

Solved

How do I serialize pyodbc cursor output (from .fetchone, .fetchmany or .fetchall) as a Python dictionary? I'm using bottlepy and need to return dict so it can return it as JSON.
Syringe asked 13/5, 2013 at 10:2

1

Solved

I know that Pypyodbc is the newer version of Pyodbc. A question before asked about the comparison between these two but I want to add Pymssql into the mix.
Ass asked 16/7, 2019 at 18:10

3

Solved

I have a Python program that connects to an MSSQL database using an ODBC connection. The Python library I'm using is pypyodbc. Here is my setup: Windows 8.1 x64 SQL Server 2014 x64 Python 2.7.91...
Transept asked 23/11, 2015 at 18:45

2

Solved

I can read from a MSSQL database by sending queries in python through pypyodbc. Mostly unicode characters are handled correctly, but I've hit a certain character that causes an error. The field i...
Kelp asked 18/4, 2016 at 12:18

1

Solved

I want to insert a pandas dataframe into MS-SQL using pypyodbc. Here is my code: Create a dataframe at first: df = pd.DataFrame({'C1': [11, 21, 31], 'C2': [12, 22, 32], 'C3': [13, 23, 33]}) tab...
Deccan asked 7/9, 2017 at 7:26

2

I'm trying to create an MS Access database from Python and was wondering if it's possible to create a table directly from a pandas dataframe. I know that I can use pandas dataframe.to_sql() functio...
Humiliating asked 18/12, 2014 at 20:43

1

Solved

I am using pypyodbc to insert data into a database and when I use the cursor.execute() command I try to put the sql string and the parameters, but I get the following error: SELECT uid FROM HP_D...
Teetotum asked 16/6, 2016 at 13:54

2

I'm trying to connect to a SQL Server using Pypyodbc on Mac and I'm getting the following error: pypyodbc.DatabaseError: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'FreeTDS' : fil...
Arleenarlen asked 17/2, 2015 at 16:25

1

I know pyodbc is an older project and probably more featureful and robust, but is there anything about its design (based on components of compiled C code), that would make it preferable to a pure P...
Firelock asked 22/1, 2013 at 16:42

2

Solved

I am pretty new to Python and have not really interacted with SQL Server and XML Parsing until this current project (might not even the best approach to take). Long story short, my IT team is very ...
Heffron asked 31/3, 2015 at 23:39

1

Solved

I am trying to figure out a way to create a program that allows me to find the best combination of data based on several different factors. I have a Microsoft Access file with creature data in it...
Privatdocent asked 13/9, 2014 at 6:58
1

© 2022 - 2025 — McMap. All rights reserved.