-
Decode function
Hi,
Can i use two column names in a single decode function...
for eg
select sum(decode(A.TableA,20,B.TableB,0)) .....
I was analyzing a query just similar to above select stmt. Was just wondering why they have used two columns in one decode function...
can somebody put some light on this...
Last edited by bang_dba; 07-25-2003 at 03:07 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|