viernes, 24 de abril de 2009

how to execute a function directly

how to execute a function directly: "how to execute a function directly

* From: Paul Tilles
* To: interfaces
* Subject: how to execute a function directly
* Date: Wed, 30 Jun 2004 09:04:13 -0400
* Message-id: <40E2BA4D.18C25CC0@noaa.gov>

Is there any way to execute a postgresql function directly? In
Informix, there is an

EXECUTE PROCEDURE proc_name();

statement which will execute a Stored Procedure directly.

In postgresql, I can

SELECT function_name();

or

DELETE fucntion_name();

both of which will cause the function to be executed.

I was wondering if there is a more generic way to cause a function to be
executed.

Paul Tilles"

No hay comentarios.:

Publicar un comentario