Home/Support/Support Forum/ConnectPort X2E ZB - MSSQL - How to write into database ?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

ConnectPort X2E ZB - MSSQL - How to write into database ?

0 votes
Hello everyone,

Looking for a way to write data into a database.

With PythonWin (2.7.1) and pyodbc, I can read and write in my database.

I would do the same thing with my ConnectPort X2E ZB.

Unfortunately, i can not run the same code on my gateway.

I get the following error:
Code:
File "/userfs/WEB/python/TEST_SQL_1.py", line 9, in <module> import pyodbc ImportError: No module named pyodbc

Are there other libraries for writing in a MSSQL database with DIGI ESP PYTHON?

Thank you for your help!
asked Jan 24, 2014 in 3rd Party Python and API development in other Languages by _GGelec_ New to the Community (0 points)
edited Jan 24, 2014 by _GGelec_

Please log in or register to answer this question.

1 Answer

0 votes
you'll have to load pyodbc manually and resolve any dependancies that it raises.
answered Apr 11, 2014 by kjensen8 Veteran of the Digi Community (623 points)
...