home *** CD-ROM | disk | FTP | other *** search
- /* sqltest4.rexx */
- address 'SQLserver'
- options results
- 'ExecSQL' 'open table cdlist;'
- 'ExecSQL' 'declare testcur cursor for select * from cdlist;'
- 'ExecSQL' 'open testcur;'
- 'ExecSQL' 'fetch columns of testcur;'
- say 'result = ' result
- 'ExecSQL' 'fetch next of testcur;'
- say 'result = ' result
- 'ExecSQL' 'close testcur;'
- 'ExecSQL' 'close table cdlist;'
-