
Untitled
By: a guest on
May 16th, 2012 | syntax:
None | size: 0.50 KB | hits: 11 | expires: Never
Set LONG data type using a Prepared Statement
alter table table_name split partition default_partition values (' +
id + ') into ( partition " + partitionName + ", partition
default_partition) update indexes
ORA-14308: partition bound element must be one of: string, datetime or interval literal, number, or NULL
try {
id = Long.valueOf(unsafeId);
//do more validations here
} catch (NumberFormatException e) {
throw new RuntimeException("Not a valid input.");
}