home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / misc / sqldb.lzh / sqldb / rexxmacros / sqltest3.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1992-08-26  |  294 b   |  13 lines

  1. /* sqltest3.rexx */
  2. options results
  3. address 'SQLserver'
  4.  
  5. 'ExecSQL' 'open table footab;'
  6. 'ExecSQL' 'declare testcur cursor for select from footab;'
  7. 'ExecSQL' 'open testcur;'
  8. 'ExecSQL' 'fetch columns of testcur;'
  9. say 'result = ' result
  10. 'ExecSQL' 'close testcur;'
  11. 'ExecSQL' 'close table footab;'
  12.  
  13.