General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Help forming field value
sum(a.tvol)-NVL(sum(b.totcxlvol),000) as tvoladj;
or
NVL(sum(a.tvol)-sum(b.totcxlvol),sum(a.tvol) ) as tvoladj;
Which syntax is better?
I was wondering if the duplicate occurance of "sum(a.tvol)" was a performance killer.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only