home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!cs.utexas.edu!swrinde!emory!emory!not-for-mail
- From: dave.snyder@snide.com (Dave Snyder)
- Newsgroups: comp.databases.informix
- Subject: Re: Updating within a scrolling cursor
- Date: 8 Jan 1993 11:18:04 -0500
- Organization: Mailing List Gateway
- Lines: 27
- Sender: walt@mathcs.emory.edu
- Distribution: world
- Message-ID: <1ik9fsINNhbe@emory.mathcs.emory.edu>
- Reply-To: dave.snyder@snide.com (Dave Snyder)
- NNTP-Posting-Host: emory.mathcs.emory.edu
- X-Informix-List-ID: <list.1762>
-
- Quoting Reg Foulkes...
- }
- } I would like to access the temporary file created by the a scrolling
- } cursor. Anyone know how to do this (i.e. what is the mystery table name)?
- }
- } Here is what I would like to do
- }
- } Declare scrolling cursor sel_stmt
- } Open sel_stmt
- } RUN "insert into mystery_table VAULES (....) | isql database - -"
- } ^^^^^^^^^^^^^
- } FETCH next sel_stmt
- }
- Won't happen. First of all, I don't think you can access a cursor's tmp
- table. Second, even if you were using a real tmp table, when you execute
- the RUN command to do the INSERT, a new database process is started. The
- tmp table from your first database process is not available to any other
- database processes.
-
- Can someone at Informix tell me if I'm way out in left field, or am I
- pretty much on the money.
-
- DAS
- --
- David Snyder @ Snide Computer Services - Folcroft, PA Current Release
- is db4glgen-3.9
- UUCP: ..!uunet!das13!dave INTERNET: dave.snyder@snide.com
-