|
Phil,
What does "DYNAMIC SCROLL CURSOR" do (as opposed to a regular prepare) in
the PREPARE statement?
-mark
At 3/19/02 11:21 AM, you wrote:
P SQL_PrpStmt b
/FREE
SQLStmt =
'select * from prmorg +
where companyNumber = ' + %editc(cpy:'X') +
' order by companyNumber, organizationName';
/END-FREE
C/exec sql
C+ PREPARE @SELECT FROM :SQLStmt
C/end-exec
C
C/exec sql
C+ DECLARE @CURSOR DYNAMIC SCROLL CURSOR FOR @SELECT
C/end-exec
C
C/exec sql
C+ open @cursor
C/end-exec
P SQL_PrpStmt e
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.