Exchanging specific commands in SQL Firebird/Postgres

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
soyjoy
Posts: 13
Joined: Fri 09 Oct 2015 13:41

Exchanging specific commands in SQL Firebird/Postgres

Post by soyjoy » Tue 20 Oct 2015 14:17

My dear , I'm using Unidac in my application in Delphi 7 to access my database , which can be in Firebird or Postgres .
I wonder if like me change within a UniQuery SQL containing specific functions of a bank (EXECUTE BLOCK firebird for example).

And as a legacy system , there is already widely in use system "Execute block" and I wonder how in exchange for a similar PostGres .
Thank you in advance for all .

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: Exchanging specific commands in SQL Firebird/Postgres

Post by azyk » Wed 21 Oct 2015 09:08

You can replace code blocks in the SQL query that are specific for Firebird/PostgreSQL using UniDAC macros. See more details in our documentation: https://www.devart.com/unidac/docs/?unisql.htm

Post Reply