TUniSQL with PostgreSQL
Posted: Sat 20 May 2017 13:48
Hello,
My main use of TUniSQL is for multiple command execution. By default TUniSQL.SpecificOptions.UnpreparedExecute is set to True.
This is not a problem for Microsoft SQL Server. However, PostgreSQL cannot insert multiple commands into a prepared statement.
Is it possible to define a project wide setting for all TUniSQL components so that their SpecificOptions.UnpreparedExecute will be set to False?
Or, is it possible to turn this parameter to False by default if provider is PostgreSQL?
Thanks & regards,
Ertan
My main use of TUniSQL is for multiple command execution. By default TUniSQL.SpecificOptions.UnpreparedExecute is set to True.
This is not a problem for Microsoft SQL Server. However, PostgreSQL cannot insert multiple commands into a prepared statement.
Is it possible to define a project wide setting for all TUniSQL components so that their SpecificOptions.UnpreparedExecute will be set to False?
Or, is it possible to turn this parameter to False by default if provider is PostgreSQL?
Thanks & regards,
Ertan