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)
Nick Page wrote:
>
> PROBLEMS WITH PREPARE/DESCRIBE in ESQLC
[SNIP]
> EXEC SQL connect to 'sa_phones';
> sprintf(demoquery, "%s ", "select * from overall;");
> EXEC SQL prepare demo3id from :demoquery;
> EXEC SQL declare demo3cursor cursor for demo3id;
> EXEC SQL describe demo3id into demo3_ptr;
> desc_count = demo3_ptr->sqld;
[SNIP]
Add error checking after each EXEC SQL to verify that you are indeed
connected to the server with an open database and that the statement
prepared correctly.
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.