I am trying to create a procedure with a wildcard with postgresql unfortunately I do not have any success. It looks like the postgresql versions have different ways of creating procedures, however, I find more help on SQL Server. Here the simple procedure I am trying to create:
create procedure getpeople (title varchar, city varchar)
LANGUAGE plpgsql
as $$
select * from salesperson where job_title=title and city like % city
$$;
I am using postgreSQL12.1not