Subject | RE: [firebird-support] Conditional syntax in stored procedure? |
---|---|
Author | Bill Meaney |
Post date | 2004-06-21T21:49:27Z |
Try parenthesis () in the first if.
if (this and that and theother) then
DoSomeCoolStuff
else if (not (this and that)) then
DoSomeOtherCoolStuff;
Bill Meaney
Hi All,
How would I convert this Delphi code to a stored procedure?
if this and that and theother then
DoSomeCoolStuff
else if (not (this and that)) then
DoSomeOtherCoolStuff;
The stored procedure doesn't seem to like the "and" operator and I
don't find a reference to an alternative.
Thanks,
Steve
Yahoo! Groups Links
if (this and that and theother) then
DoSomeCoolStuff
else if (not (this and that)) then
DoSomeOtherCoolStuff;
Bill Meaney
Hi All,
How would I convert this Delphi code to a stored procedure?
if this and that and theother then
DoSomeCoolStuff
else if (not (this and that)) then
DoSomeOtherCoolStuff;
The stored procedure doesn't seem to like the "and" operator and I
don't find a reference to an alternative.
Thanks,
Steve
Yahoo! Groups Links