Migration from Oracle to PG
Posted: Mon 16 Aug 2021 13:00
odac
component TOraSQL
after execution i can get result of out parameter
pgdac
component TPgSQL
after execution i get error "syntax error at or near ":""
how to use out parameter in pg?
component TOraSQL
Code: Select all
begin
:param1 := 5;
end;
Code: Select all
OraSQL->ParamByName("param1")->AsInteger;
component TPgSQL
Code: Select all
DO $$
BEGIN
:param1 := 5;
END $$;
how to use out parameter in pg?