Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
Georg Winkens wrote:
>
> Is there a way in ESQL/C to prepare a Statement that uses a temporary
> table (e.g. "Select * from Temp_Table ...") if this temporary table is
> not already created at prepare time?
No there is not. The purpose of preparing a statement is to save
the cost of repeated optimization (to create a query plan) of a
statement that has to be executed many times. Since the table does not
exist the optimizer cannot develop a query plan. Even if you once
prepare the statement while the table exists if it were subsequently
dropped and recreated the prepared statement would be unusable since
the table location is incorrect.
Art S. Kagel
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.