AW: [firebird-support] NOT in Firebird

2013-07-04 Thread Olaf Kluge
Hello Mark, great, exactly what I was looking for. Only 1 and 0 is possible. Thank you. Olaf On Thu, 4 Jul 2013 10:34:21 +0200, "Olaf Kluge" < olaf.kl...@satron.de> wrote: > for example there are two variables. > > Var1 = 0 > > Now I would like to ne

Re: AW: [firebird-support] NOT in Firebird

2013-07-04 Thread Paul Vinkenoog
Olaf wrote: > great, exactly what I was looking for. Only 1 and 0 is possible. Then you can also do Var2 = 1 - Var1 The outcome is the same, but perhaps this is more obvious than bitwise XORing with 1. And it might execute a wee little faster. Cheers, Paul Vinkenoog

Re: AW: [firebird-support] NOT in Firebird

2013-07-04 Thread Mark Rotteveel
On Thu, 04 Jul 2013 14:40:30 +0200, Paul Vinkenoog wrote: > Olaf wrote: > >> great, exactly what I was looking for. Only 1 and 0 is possible. > > Then you can also do > > Var2 = 1 - Var1 > > The outcome is the same, but perhaps this is more obvious than bitwise > XORing with 1. And it might