def oracle_create_auto_increment(_table, _column):
    """Work around Oracle's silly unwillingness to support auto increment."""
    result = list()
    _new_seq = (_table.name + '_' + _column.name + '_seq')[0:29]
    result.append('')
    result[0] = 'CREATE SEQUENCE ' + _new_seq + _table.row_separator
    result[0] += 'start with 1' + _table.row_separator
    result[0] += 'increment by 1 ' + _table.row_separator
    result[0] += 'nomaxvalue'
    result.append('')
    result[1] = 'CREATE TRIGGER ' + ('tr_' + _table.name + '_' + _column.name)[
        0:29] + _table.row_separator
    result[1
        ] += 'BEFORE INSERT ON "' + _table.name + '"' + _table.row_separator
    result[1] += ('FOR EACH ROW WHEN (new."' + _column.name +
        '" IS NULL) BEGIN' + _table.row_separator)
    result[1] += ('SELECT ' + _new_seq + '.nextval INTO :new."' + _column.
        name + '" FROM dual;' + _table.row_separator)
    result[1] += 'END;'
    return result
