plpgsql execution

Поиск
Список
Период
Сортировка
От Girish Bajaj
Тема plpgsql execution
Дата
Msg-id 002301c35272$f773d9e0$7764a8c0@tietronix.com
обсуждение исходный текст
Ответы Re: plpgsql execution  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-admin

Is there any way I can run the following code in the query executer without creating a function for it?

 

FOR i IN 1..100 LOOP

PERFORM time_delay(1);

insert into worklist(startid, endid, cellid, campaignid, status, claim, flastjob) values(1,2,3,4,5,\'mju\',CAST(1 as BIT));

END LOOP;

 

The language is PLPGSQL. And I really don’t want to write a function to execute it. Can the query executer automatically execute it for me?

 

Thanks,

Girish

 

 

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

Предыдущее
От: "Dilan Arumainathan"
Дата:
Сообщение: SQL Server DTS for data migration
Следующее
От: Sub Director - Sistemas Informáticos
Дата:
Сообщение: \connect ...ing since a dbserver to another