Re: [GENERAL] Stored Procedures and Functions

2007-06-04 Thread Albe Laurenz
Harpreet Dhaliwal wrote: > Is it true that postgres doesn't have a notion of Stored > Procedures and functions is what it has instead? > RDBMS like Sql Server supports both stored procedures and functions. > So I was wondering what is the difference between a Stored > Procedure and a function.

Re: [GENERAL] Stored Procedures and Functions

2007-06-02 Thread PFC
MySQL supports procedures and functions. Functions can return results but cannot update the database. Procedures can update the database but cannot return results. However : - a function can call a procedure that updates the database ! - a proced

Re: [GENERAL] Stored Procedures and Functions

2007-06-02 Thread Pavel Stehule
Hello Is it true that postgres doesn't have a notion of Stored Procedures and functions is what it has instead? RDBMS like Sql Server supports both stored procedures and functions. So I was wondering what is the difference between a Stored Procedure and a function. It's true. PostgreSQL know

Re: [GENERAL] Stored Procedures and Functions

2007-06-02 Thread Leif B. Kristensen
On Saturday 2. June 2007 16:47, Harpreet Dhaliwal wrote: >Hi, > >Is it true that postgres doesn't have a notion of Stored Procedures > and functions is what it has instead? >RDBMS like Sql Server supports both stored procedures and functions. >So I was wondering what is the difference between a Sto

[GENERAL] Stored Procedures and Functions

2007-06-02 Thread Harpreet Dhaliwal
Hi, Is it true that postgres doesn't have a notion of Stored Procedures and functions is what it has instead? RDBMS like Sql Server supports both stored procedures and functions. So I was wondering what is the difference between a Stored Procedure and a function. Thanks, ~Harpreet