Hi
I want to do like:
select case when a.id is not null then new A(a.id) when b.id is not null then new A(null)
but it gives the error: unepected token new on line...
Any ideas?
thanks!
Hi
I want to do like:
select case when a.id is not null then new A(a.id) when b.id is not null then new A(null)
but it gives the error: unepected token new on line...
Any ideas?
thanks!