Sorry Rob, for some reason I didn't catch the can be prepared part of your
post.

----- Original Message -----
From: "hwarangron" <hwarangron@cox.net>
To: <midrange-l@midrange.com>
Sent: Friday, July 19, 2002 12:55 PM
Subject: Re: prepared SELECT - was: runsqlstm


>
> C/Exec SQL
> C+ Select * Into :QryExtDs from QryExtFlds
> C+ where QreLink = :Linkno and QreFName = :ShFld
> C/End-Exec
>
> This works without a cursor, but only if there are not multiple records
that
> match the search criteria.
>
>
> > However I don't think a simple
> > select datafld into :Myhostvar
> >  from myfield
> > where primarykey='xyz'
> > Can be prepared and executed without a cursor.
>
> Ron Hawkins
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.