suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    get the ultimate tool for Informix

    pfeil  
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT31109 Status: Closed

THE USE OF "ALTER SEQUENCE MYSEQ INCREMENT BY 1" RESETS THE SEQUENCE
COUNT.

product:
INFORMIX SERVER / 5725A3900 / E10 - 
Problem description:
ALTER SEQUENCE myseq INCREMENT BY 1 reset to the "start with"
value.
Eample:-
create sequence myseq increment by 5 start with 1 maxvalue 100
minvalue 1 cache 20 order;

SELECT myseq.NEXTVAL
FROM SYSTABLES
WHERE TABID=1;

             nextval

                   6

1 row(s) retrieved.

alter sequence myseq restart with 60;

Sequence altered.

SELECT myseq.NEXTVAL
FROM SYSTABLES
WHERE TABID=1;


nextval

60

1 row(s) retrieved.

ALTER SEQUENCE myseq INCREMENT BY 1;
;
Sequence altered.

SELECT myseq.NEXTVAL
FROM SYSTABLES
WHERE TABID=1;
;

nextval

1

1 row(s) retrieved.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC14 and 14.10.xC4.  *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Update to Informix Server 12.10.xC14 or 14.10.xC4.           *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC14 and 14.10.xC4.  *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Update to Informix Server 12.10.xC14 or 14.10.xC4.           *
****************************************************************
Comment
Fixed in Informix Server 12.10.xC14 and 14.10.xC4.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
29.11.2019
08.06.2020
08.06.2020
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
Informix EditionsInformix Editions
Informix Editions
DocumentationDocumentation
Documentation
IBM NewsletterIBM Newsletter
IBM Newsletter
Current BugsCurrent Bugs
Current Bugs
Bug ResearchBug Research
Bug Research
Bug FixlistsBug Fixlists
Bug Fixlists
Release NotesRelease Notes
Release Notes
Machine NotesMachine Notes
Machine Notes
Release NewsRelease News
Release News
Product LifecycleProduct Lifecycle
Lifecycle
Media DownloadMedia Download
Media Download