'Returns a description of the table, with the DB-API cursor.description interface.'

def get_table_description(self, cursor, table_name):

    cursor.execute(('SELECT    *    FROM    %s    WHERE    ROWNUM    <    2' % self.connection.ops.quote_name(table_name)))
    description = []
    for desc in cursor.description:
        description.append(((desc[0].lower(),) + desc[1:]))
    return description
