I'm using Delphi 7 + ZEOS DBO ( ) + PG database. Has anybody "live" simple source for next two questions.
1. How to send parameters to query on PG? On MySQL I've used ZQuery1.ParamByName property and in SQL text I've wrote such as
Code: Select all
select * from my_tyny_table where user=:username
2. How to get a cursor value in PG? So, i've wrote
Code: Select all
begin;
select f_modules_get_user_id_by_login('petrov','sdgfsdf');