Jump to content

Recommended Posts

Posted

In my query I have a mathematic function under an alias:

 (a amount+ b amount) AS "difference" 

 

Now however I need to sum the difference, but apparently you cannot sum information using an alias:

 SUM('difference') AS "total_difference" 

 

I get a ORA-01722: invalid number error.

 

Any ideas?

Posted

Nope, I guess you can't. Now if I could figure out how to get it in my Crystal Report without mucking up the other sums... sad.gif

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...