Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I'm stuck on this problem.. I'd like to create an exception within my script. eg. (something along these lines)
if(username = 'USER', null(), username [except] where ramsno = '1234') as UserName
I'm sure you can see what i'm trying to do, is there any syntax etc that i can use instead of [except] in the example above? Is this possible?
Richard,
Try this:
. The second null() could be replaced by something else if you want a different action to be taken should ramsno=1234...if(username = 'USER', null(), if (ramsno='1234',null(),Username)) as UserName
Regards,
Richard,
Try this:
. The second null() could be replaced by something else if you want a different action to be taken should ramsno=1234...if(username = 'USER', null(), if (ramsno='1234',null(),Username)) as UserName
Regards,
Thanks Vlad, perfect...