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.
Keith Simmons wrote:
> Why do you need two separate statements for update. As far as I can
> see the second statement should work fine in Informix (although there
> may be a typo after 'select' ;-) )
>
I'am sorry for posting HQL instead of SQL statement.
The second statement in SQL is:
update Dotaz as dotaz set statusId=:status, metaTypChyby=:metaTypChyby
where dotaz.davka=:davka and dotaz.id in
(select dotaz1.id from IdfKlient as vstp join Dotaz as dotaz1 on vstp.dotazid=dotaz1.id where
dotaz1.davka=:davka and vstp.tabulkaVSablone=:tabulka)
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.