how to get table schema sql pyodbc code example
Example: how to get table schema sql pyodbc
# columns in table x
for row in cursor.columns(table='x'):
print(row.column_name)
# columns in table x
for row in cursor.columns(table='x'):
print(row.column_name)