sql function - Mailing list pgsql-sql

From Shavonne Marietta Wijesinghe
Subject sql function
Date
Msg-id 002801c5d0bd$7e640e50$1102a8c0@dream
Whole thread Raw
Responses Re: sql function
List pgsql-sql
I have 2 schemas "operativo" and "autore" and they both have a table "PECDT00"
 
i want to create a function with the following sql command (using the programme pgadmin 3) in pgadmin 3 there is a small wizard to fill when u create a function and u have to add the return type..
 
this is the sql statement i wanna do
 
DELETE FROM operativo.PECDT00;
insert into operativo.PECDT00 (select * from autore.PECDT00);
 
what can i use ad the return type??
 
thank u

 

pgsql-sql by date:

Previous
From: David Pradier
Date:
Subject: Re: Design problem : using the same primary keys for inherited objects.
Next
From: Andreas Kretschmer
Date:
Subject: Re: sql function