Hello Roland,

Wednesday, December 21, 2016, 10:39:50 PM, Roland Turcan wrote:


> But  still, why this problem occurred? Why didn't some generators have
> it =1?

A generator that has never been triggered has a value of 0, not 1.

In the context of your complaint that NEXT VALUE FOR seemed to return
a wrong value, Dmitry suggested you query the column
RDB$GENERATOR_INCREMENT in RDB$GENERATORS, to check whether the
problem might be caused by 0 or null in that field.  If you didn't do
that, and you think you still have a problem, then look at it.

HB

  • [firebird-s... Roland Turcan k...@rotursoft.sk [firebird-support]
    • [fireb... Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
      • Re... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
        • ... Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
      • Re... Roland Turcan k...@rotursoft.sk [firebird-support]
        • ... Helen Borrie hele...@iinet.net.au [firebird-support]
          • ... Roland Turcan k...@rotursoft.sk [firebird-support]
            • ... Helen Borrie hele...@iinet.net.au [firebird-support]
            • ... Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
              • ... Roland Turcan k...@rotursoft.sk [firebird-support]

Reply via email to