|
Python Connector for Dynamics 365 Querying data - Python Connector for Dynamics 365 |
|
Once connected to Dynamics 365, you can execute SQL queries to retrieve data from your Dynamics 365 data.
cursor object using the cursor() connection method.
my_cursor = my_connection.cursor()
execute() cursor method.
my_cursor.execute("SELECT * from product")
fetch*() cursor methods.
for row in my_cursor.fetchall():
print(row)