How to connect Sybase database with python?

Development | Programming languages
Content

Can anyone help me with connecting Sybase database with python?

Attachments
No attachments

Deadline: 20.12.2030

Comments
autor-image
Senior Python Developer
Python forever!
Try this:

import Sybase
database = Sybase.connect('server','name','pass','database')
cursor = db.cursor()
c.execute("sql statement")
all = cursor.fetchall()
print(all)

20.04.2021, 15:52:47
-
You must be logged for add a new comment and price offer! LOGIN
We use cookies to give you the best possible experience on our site. By continuing to use the site you agree to our use of cookies. Find out more Accept