RE: SEQUENCE jumping 19 values after database restart...

2006-07-04 Thread Anhaus, Thomas
Martin Cordova wrote : > > I checked sequence definitions via SQLStudio, "Cached values" is > disabled, without information. > > SEQUENCE_CACHE = 1 according to DBM. > > Is there anything else to check? > > I created the sequence like: create sequence seq_xxx start with 1 > Did it assume a def

Re: (SOLVED) SEQUENCE jumping 19 values after database restart...

2006-07-04 Thread Martin Cordova
Robert, it was cache indeed. By default sequences assume a cache of 20. I had to recreate the sequence like: create sequence seq_xxx start with nnn NOCACHE Otherwise it will jump after the restart. Thank you for pointing me to the right direction. Best regards, Martin On 7/4/06, Martin Cord

Re: SEQUENCE jumping 19 values after database restart...

2006-07-04 Thread Martin Cordova
I checked sequence definitions via SQLStudio, "Cached values" is disabled, without information. SEQUENCE_CACHE = 1 according to DBM. Is there anything else to check? I created the sequence like: create sequence seq_xxx start with 1 Did it assume a default cache of 20 or something? Regards, Mar

MYSQL

2006-07-04 Thread Alex Tender
Hi I have a small problem, we have Sap install on MaxDB version 7.5.00.35 T933 -1 Utility 864462 Vsuspend (212) ! 0 0 272(s) The command "dbmcli -d SB1 -u control,compaq db_cons cancel 93" does not kill it and My Log file is already at 57%, It does not allow me to backu

RE: IGNORE TRIGGER : Is it valid in a procedure?

2006-07-04 Thread Zabach, Elke
H wrote: > > version:7.5.00.34 > platform: Windows 32 > > This is the same problem I am still working on. I found > that the 'IGNORE TRIGGER' compiles or works in a trigger statement. > > Question: Is the IGNORE TRIGGER syntax supposed to work in > a procedure? > No,

RE: Wrong resultset in MaxDB 7.6.0.27 with using UDF

2006-07-04 Thread Zabach, Elke
Alexey Gaidukov wrote: > > Can somebody help me? > > select getQuant('155') from dbadmin.dual > returns correct value without exception > > The statement > > SELECT * > FROM invest > WHERE cartnum=6280 and i.dateres='2006-05-25' > > > returns one record > > but why > > SELECT getQuant('155