home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 579a.lha / sqldb_v1.0alpha2 / rexx / sqltest3.rexx < prev    next >
OS/2 REXX Batch file  |  1991-11-25  |  291b  |  11 lines

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