Page 1 of 1

Query execute vs open question

Posted: Wed 24 Dec 2008 15:56
by snorkel
Hi,
In other PGSQL Delphi libraries ( I wont' mention the names) if you execute a query that returns a result using using myquery.execute it totally errors out. Is the Devart solution smart enought to know the difference between a set returning query without have to resort to nast regular expressions to figure out if the query is a Select etc vs a execute like create table or INSERT or UPDATE etc.

Thanks,

Snorkel

Posted: Mon 29 Dec 2008 09:11
by Plash
Yes, PgDAC can detect if a SQL statement returns a record set.