Variable Substitution for table name

Поиск
Список
Период
Сортировка
От Samuel J. Sutjiono
Тема Variable Substitution for table name
Дата
Msg-id 00e901c1cd34$edd88cb0$110a010a@headquarters.wcgroup.com
обсуждение исходный текст
Ответы Re: Variable Substitution for table name
Список pgsql-general
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.
 

В списке pgsql-general по дате отправления: