dbTalk Databases Forums  

function no return

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss function no return in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
autogoor@yahoo.com
 
Posts: n/a

Default function no return - 03-17-2005 , 05:02 PM






I define a function


CREATE OR REPLACE FUNCTION my_function(n varchar) RETURNS void AS $$
DECLARE
...
BEGIN
...
END;
$$ LANGUAGE plpgsql;

It has no return. How can I invoke it? SHould I still use

select my_function('aaa')

Thanks,

autogoor


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.