From time to time our DBA copies tables (data) from Production to Test environment – after we (developers) mess it up (Test).
DBA claims that the sequences cannot be copied and have to be re-set in Test. (weird in my opinion…)
Is there a way to copy Sequences from place to place, along with the tables?
And if not – is there a way to ensure the sequences’ Next Value is correct in respect to the last PK value in a table? Programmatically, not ‘by-hand’, of course.
---- Andy
There is a great need for a sarcasm font.
DBA claims that the sequences cannot be copied and have to be re-set in Test. (weird in my opinion…)
Is there a way to copy Sequences from place to place, along with the tables?
And if not – is there a way to ensure the sequences’ Next Value is correct in respect to the last PK value in a table? Programmatically, not ‘by-hand’, of course.
---- Andy
There is a great need for a sarcasm font.