'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:
        name = force_text(desc[0])
        name = (name % {})
        description.append(FieldInfo(*((name.lower(),) + desc[1:])))
    return description
