Re: [fpc-pascal] bitwise generator

2008-12-29 Thread Zaher Dirkey
You can increase the Generator by its value, but be sure the first value of this generator is 1 select gen_id(GenAccID, gen_id(GenAccID, 0)) from rdb$database On Sat, Dec 6, 2008 at 5:00 PM, ik ido...@gmail.com wrote: Thanks for the answer. I wanted to do it using Firebird instead of my

[fpc-pascal] bitwise generator

2008-12-06 Thread ik
Hello, I wish to create a firebird generator that does bitwise generation rather then ordinal generator. I mean: 1 2 4 8 16 32 64 128 etc.. Does anyone have knowledge how to create such generation in firebird ? Thanks, Ido http://ik.homelinux.org/

Re: [fpc-pascal] bitwise generator

2008-12-06 Thread Francisco Reyes
ik writes: I wish to create a firebird generator that does bitwise  generation rather then ordinal generator. I mean: 1 2 4 8 16 32 64 128 etc.. Does anyone have knowledge how to create such generation in firebird ? I am not clear what you are trying to do. You are trying to generate the

Re: [fpc-pascal] bitwise generator

2008-12-06 Thread ik
Thanks for the answer. I wanted to do it using Firebird instead of my Pascal code.. now I understand thanks to you, that I need to do it using stored procedure. Thanks, Ido On Sat, Dec 6, 2008 at 4:38 PM, Francisco Reyes [EMAIL PROTECTED]wrote: ik writes: I wish to create a firebird