I\'m not asking for the SHOW COLUMNS command.
SHOW COLUMNS
I want to create an application that works similarly to heidisql, where you can specify an SQL query and w
cursor.description will give you a tuple of tuples where [0] for each is the column header.
num_fields = len(cursor.description) field_names = [i[0] for i in cursor.description]