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