Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Scope of "EXEC SQL PREPARE" Statement Name

Scope of "EXEC SQL PREPARE" Statement Name

From: Gerald Winslow <gerald.winslow_at_titan.com>
Date: 13 Sep 2002 11:01:40 -0700
Message-ID: <7bc6b913.0209131001.3e5efded@posting.google.com>

Folks,

In dynamic SQL for C/C++, you code "EXEC SQL PREPARE stmt FROM string". The Oracle docs say that "stmt" must be unique. But, it says nothing of the scope of that uniqueness.

So, within what scope must "stmt" be unique? Is it unique within the C function, or unique within the C source file? Or what?

Thanks!
Gerald Winslow
Titan Systems Corp. Received on Fri Sep 13 2002 - 13:01:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US