Postgresql ODBC Question

Started by Brian J. Ericksonover 22 years ago1 messagesgeneral
Jump to latest
#1Brian J. Erickson
ericksbr@infocon-inc.com

Hello,

Can I execute multiple sql
statements("SQLHSTMT") on the same
ODBC connection handle ("SQLHDBC")?

i.e.:
In one thread execute "select * from table_x"
and in another thread execute
"select * from table_y"
Using the same connection to the database,
or do I have to create a connection to
for each separate query.

I understand that the ODBC is suppose to
be thread-safe, so I would suspect yes.

Brian E.