howdy db2 users,
anybody out there with a strategy for resetting a sequence number in Schema B equal to a sequence number in Schema A?
i am re-creating sequences in schema B that exist in schema A.
when i try to alter the sequence, a sub-select returns SQL0104N (syntax error):
DB2 v8.1.0.64
FixPak 7
Type ESE
alter sequence schema_b.mysequence
restart with (
select max(sequenced column) from schema_a.table_a
)
thanks,
bill