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.
Mike Aubury — — source: Informix-list mailing list archive (1991-1998)
I've done this with using prepare
let lv_str="select * from systables"
prepare p1 from lv_str
...
Theres a field on sqlca which gives the cost..
Jay Walters wrote in message <36D99F9D.2516C1F1@computer.org>...
>Is there a way to get the query plan for a query without executing the
>query? I can only find set explain on and then running the query which
>can be a bit of a pain if the query isn't too good to start with.
>
>Cheers
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.