posted 22 years ago
Hi there
I'm stuck in Oracle by trying to overtake the MS SQLs nice syntax
This query gave a result like:
12345 340'000.00 23'060.00
Depending on the "trn"-value, it summed the amount of the transaction either in column 2 or 3.
When I try now to accomplish this in Oracle-Syntax, I'm charmed by the idea, to use CASE/END aswell.
But when I use it the following way...
I have the Oracle error ORA-00907: missing right parenthesis
I know that I could accomplish it like...
... but don't like doing it this way.
You're idea? Am I too MSSQL fixed? Shall I use the second, working way?
Thanxx in advance!
Pumpel
Chris Neff, aka Pumpelche<p><a href="http://www.mondagor.ch" target="_blank" rel="nofollow">www.mondagor.ch</a> | forum.mondagor.ch