Answer the question
In order to leave comments, you need to log in
How to view database structures using pyodbc?
Can't find how to watch?
I connected to my azure database
but I need to see the structure of another database
import pyodbc
connection = pyodbc.connect(
'DRIVER={ODBC Driver 17 for SQL Server};SERVER=mysqlserver7.database.windows.net;DATABASE=mySampleDatabase;UID=azureuser;PWD=ХХХ')
cursor = connection.cursor()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question