About 105,000 results
  1. Function vs. Stored Procedure in SQL Server - Stack Overflow

    When should I use a function rather than a stored procedure in SQL, and vice versa? What is the purpose of each?

  2. sql - Functions vs Stored Procedures - Stack Overflow

    Oct 7, 2008 · If a stored procedure meets the following criteria, it is a good candidate for being rewritten as a table-valued function: The logic is expressible in a single SELECT statement but …

  3. What are the differences between "Stored Procedures" and …

    The terms "stored procedure" and "stored function" are used interchangeably in PostgreSQL and are generally taken to mean the same thing. Other databases may differentiate between a …

  4. SQL Server: Table-valued Functions vs. Stored Procedures

    The use of functions versus stored procedured depends on what result you need from it. A table-valued function can return a single result, while a stored procedure can return one result, …

  5. Difference between stored procedures and user defined functions

    Jan 11, 2010 · Can anyone explain what is the exact difference between stored procedures and user defined functions, and in which context each is useful?

  6. performance difference between User Defined Function and …

    Dec 21, 2009 · 30 There is no difference in speed between a query run inside a function and one run inside a procedure. Stored procedures have problems aggregating results, they cannot be …

  7. What is the difference between a "function" and a "procedure"?

    Apr 6, 2009 · A procedure is a set of commands which can be executed in order. In most programming languages, even functions can have a set of commands. Hence the difference is …

  8. Functions vs procedures in Oracle - Stack Overflow

    Oct 23, 2015 · The difference is- A function must return a value (of any type) by default definition of it, whereas in case of a procedure you need to use parameters like OUT or IN OUT …

  9. MySQL procedure vs function, which would I use when?

    Dec 18, 2023 · CREATE PROCEDURE proc_name ([parameters]) [characteristics] routine_body CREATE FUNCTION func_name ([parameters]) RETURNS data_type // diffrent …

  10. mysql - What's the differences between stored procedures, …

    Stored procedure has the security and reduces the network traffic and also we can call stored procedure in any number of applications at a time. A Function can be used in the SQL queries …