I have this kind of query:
select (s.t1 + s.t2 + s.t3 + s.t4 + s.t5 + s.t6 + s.t7) total
from summary s
is there a way that i could shorten the formula? my table fields are growing and i need to include them in getting the total for the values.
I have this kind of query:
select (s.t1 + s.t2 + s.t3 + s.t4 + s.t5 + s.t6 + s.t7) total
from summary s
is there a way that i could shorten the formula? my table fields are growing and i need to include them in getting the total for the values.
change your database design. It's incredibly stupid to have a need for things like that.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.