Subject | Re: [ib-support] logical operations |
---|---|
Author | Paul Reeves |
Post date | 2001-03-21T17:18:14Z |
Jörg Schiemann wrote:
spartan. It primarily supports procedural execution of SQL statements. Pretty
much anything beyond that must be achieved by means of UDFs (as previously
suggested). They are a powerful feature, but can bring a few extra problems.
But to step back a bit, what is it you think you need this for? There may be
another way of achieving your goal.
Paul
--
Paul Reeves
http://www.ibphoenix.com
taking InterBase further
>[snipped]
> Maybe an example will clearify what I want.No, as you have discovered, this cannot be done. The SP language is somewhat
>
> DECLARE VARIABLE RESULT INTEGER;
> BEGIN
> RESULT = 1 OR 4;
> END
>
> RESULT should be 5
>
spartan. It primarily supports procedural execution of SQL statements. Pretty
much anything beyond that must be achieved by means of UDFs (as previously
suggested). They are a powerful feature, but can bring a few extra problems.
But to step back a bit, what is it you think you need this for? There may be
another way of achieving your goal.
Paul
--
Paul Reeves
http://www.ibphoenix.com
taking InterBase further