Hello all,
Does anybody know whether I can do variable substitution in PostgreSQL function ???
create function Test(text) returns text as '
DECLARE
NewView ALIAS for $1;
BEGIN
For rec_set IN SELECT DeptdID, VendorName
from NewView where (DeptID = iDeptID)
I appreciate any help very much.