DB2 - Problem description
| Problem IC84522 | Status: Closed |
'ALTER SEQUENCE <SEQUENCE_NAME> RESTART WITH <VALUE>' STATEMENT IS NOT GENERATED BY DB2LOOK UTILITY. | |
| product: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
| Problem description: | |
If 'ALTER SEQUENCE <sequence name> RESTART WITH <value>' statement was issued for the sequence then db2look utility does not generate 'ALTER SEQUENCE <sequence name> RESTART WITH <value>' statement for that sequence if the next sequence was not retrieved by 'NEXT VALUE FOR <sequence name>' statement since sequence was altered. | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 10.1 Fix Pack 1. * **************************************************************** | |
| Local Fix: | |
Retrieve value from the sequence with 'NEXT VALUE FOR <sequence name>' before using db2look if sequence was altered with 'ALTER SEQUENCE <sequence name> RESTART WITH <value>' statement. | |
| available fix packs: | |
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows | |
| Solution | |
First fixed in DB2 Version 10.1 Fix Pack 1. | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 14.06.2012 29.11.2012 29.11.2012 |
| Problem solved at the following versions (IBM BugInfos) | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 10.1.0.1 |
|
| 10.5.0.1 |
|