get column names from query result using pymssql,column_names = [item[0] for item in cursor.description]