Re: [SQL] using case to select 'which version to use'

2009-08-21 Thread Gerardo Herzig
Rodrigo E. De León Plicet wrote: > On Thu, Aug 20, 2009 at 10:17 AM, Gerardo Herzig wrote: >> Hi all. I have 2 functions , which returns the same columns, but with >> tottaly different logics. I want to wrap it with a third function, who >> will receive a boolean argument to decide wich sub-functio

Re: [SQL] using case to select 'which version to use'

2009-08-20 Thread Rodrigo E . De León Plicet
On Thu, Aug 20, 2009 at 10:17 AM, Gerardo Herzig wrote: > Hi all. I have 2 functions , which returns the same columns, but with > tottaly different logics. I want to wrap it with a third function, who > will receive a boolean argument to decide wich sub-function have to use. > > I want to use case,