Nice explanation, what the difference between procedure and function in postgresql? What's the advantage of procedure over function? When should be go for procedure or function
Please explain how to extract top 1 data with where clause from more than 3 different tables and store them in 3 different variables to generate xml or json out of it.
Thanks a lot
thanks for your feedback
Nice explanation, what the difference between procedure and function in postgresql? What's the advantage of procedure over function? When should be go for procedure or function
Thanks for your feedback ..
We have couple of differences .. will cover soon..
Hi, can we return result set can you give example how to do in procedure.
No it doesn't support. Go for a table valued function.
can we replace sq server stored procedure with Postgres procedure what is the dufference
Please explain how to extract top 1 data with where clause from more than 3 different tables and store them in 3 different variables to generate xml or json out of it.
I want to return 2 results from procedure is that possible
Hi I want basic postgresql store procedure how to create using XML file data insert into one master table. Please share me link with script.
I got an error syntax error at or near PROCEDURE
Whats the error message. Can you pls provide the full script as well.
@@Training2SQLMSBI CREATE PROCEDURE proc_selection ()
language 'plpgsql'
as $$
begin
select * from my_table;
end;
$$;