Any online documentation or examples for using Oracle SQL in Postgres?
Regards,
David
On Wed, 5 Jan 2022 at 11:22, Shaozhong SHI <shishaozhong@xxxxxxxxx> wrote:
If so, can we use Oracle SQL script in DO block?Does this mean that all Oracle SQL can be used in Postgres?Regards,DavidOn Wed, 5 Jan 2022 at 11:12, hubert depesz lubaczewski <depesz@xxxxxxxxxx> wrote:On Wed, Jan 05, 2022 at 11:04:34AM +0000, Shaozhong SHI wrote:
> I was given an Oracle script. Can we use sql language to create a function
> in Postgres?
Sure:
create function z() returns int4 language sql as $$
select 123;
$$;
depesz