home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / vmutil / 1889 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.6 KB  |  40 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!paladin.american.edu!auvm!MARIST.BITNET!STDN
  3. Return-Path: <@OHSTVMA.ACS.OHIO-STATE.EDU:VM-UTIL@UBVM.BITNET>
  4. Message-ID: <VM-UTIL%93012110574766@VM.MARIST.EDU>
  5. Newsgroups: bit.listserv.vm-util
  6. Date:         Thu, 21 Jan 1993 10:55:38 EST
  7. Sender:       VM Utilities Discussion List <VM-UTIL@OHSTVMA.BITNET>
  8. From:         Dan Newcombe <STDN@MARIST.BITNET>
  9. Subject:      RXSQL problems with UPDATE
  10. Lines: 28
  11.  
  12. Hi.. I can't find anyplace better to place this, and as RXSQL is a
  13. VM Utility :)
  14.  
  15. I have an exec that is trying to use SQL to do an update on a table.
  16. I have narrowed it down from updating all the columns at once to just
  17. trying to get it to update the trouble column.  The trouble column
  18. is of type DECIMAL (4,2).  The RXSQL statement is:
  19. 'RXSQL PREP UPD UPDATE AIDE_LIST SET PAYRATE=4.56 WHERE AIDE_NO=42'
  20. 'RXSQL EXEC UPD'
  21. This returns a RC of 8 and and SQLCODE of -104, a portion of the
  22. statement is incorrect.
  23. I tried pipes:
  24. PIPE SQL EXECUTE 'UPDATE AIDE_LIST SET PAYRATE=4.56 WHERE AIDE_NO=42'
  25. still got an error, so I went into QMF and put the update statement
  26. in and it worked just fine.
  27.  
  28.   Anyone have any clues???
  29.  
  30.    -Thanks-
  31.      Dan
  32.  
  33. Dan Newcombe
  34. stdn@vm.marist.edu                        kk4d@maristb.marist.edu
  35. dnewcomb@cybernet.cse.fau.edu             And others...
  36. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  37. - Real programmers like vending machine popcorn.  Coders pop it in the
  38.   microwave oven.  Real programmers use the heat given off by the cpu.
  39.   They can tell what job is running just by listening to the rate of popping.
  40.