home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / informix / 2893 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.1 KB  |  32 lines

  1. Newsgroups: comp.databases.informix
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!bnrgate!bcars267!zoonews!NewsWatcher!user
  3. From: riskit@x400gate.bnr.ca (Reg Foulkes)
  4. Subject: Updating within a scrolling cursor
  5. Message-ID: <riskit-070193150859@47.201.0.36>
  6. Followup-To: comp.databases.informix
  7. Sender: news@zoonews.bnr.ca (Patrick Wall)
  8. Nntp-Posting-Host: bftzm17
  9. Organization: Bell-Northern Research
  10. Date: Thu, 7 Jan 1993 20:27:01 GMT
  11. Lines: 19
  12.  
  13. I would like to access the temporary file created by the a scrolling 
  14. cursor. Anyone know how to do this (i.e. what is the mystery table name)? 
  15.  
  16.  Here is what I would like to do
  17.  
  18.   Declare scrolling cursor sel_stmt 
  19.   Open sel_stmt
  20.   RUN "insert into mystery_table VAULES (....) | isql database - -"
  21.                    ^^^^^^^^^^^^^
  22.   FETCH next sel_stmt
  23.  
  24.  
  25. I am aware the I could create a scrolling cursor on an indexed column 
  26. in a query set. And then do all FETCHES, UPDATES and DELETS on the actual
  27. table using the scrolling cursor as an index into the database.
  28.  
  29. riskit@bnr.ca
  30. phone (613) 763-4131
  31. Ottawa, Ontario Canada.
  32.