View previous topic :: View next topic |
Author |
Message |
enge Beginner
Joined: 12 Oct 2004 Posts: 78 Topics: 39
|
Posted: Fri Mar 13, 2009 11:13 am Post subject: sqlcode -419 |
|
|
sorry, i don't understand. i have db2 8.0 compiler and i got -419
Code: |
EXEC SQL SELECT SUM(NVME * NVME) / SUM(NVME)
, SUM(NVRE * NVME) / SUM(NVME)
, SUM(PREN * NVME) / SUM(NVME)
, SUM(PRIN * NVME) / SUM(NVME)
, SUM(PREL * NVME) / SUM(NVME)
, SUM(PRIL * NVME) / SUM(NVME)
, SUM(NDUR * NVME) / SUM(NVME)
|
what does it mean? |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Mar 13, 2009 11:20 am Post subject: |
|
|
enge,
1. Click on "quick manuals" on top of this page
2. Click on "DB2 V8 Messages and Codes" manual under DB2
3. Click on on top of that page
4. In the search box type -419 and click search
5. Click on the first hit you get and read it carefully
kolusu |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Fri Mar 13, 2009 11:21 am Post subject: |
|
|
if all you ever have is positive numbers, then try:
change:
/SUM(NVME)
to:
/SUM(ABS(NVME)) _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
|
|