About 1,610,000 results
Open links in new tab
  1. SQL list of all the user defined functions in a database

    The purpose here is a searchable text of the user defined function definitions in a database for database change analysis, if something like a full SQL procedure or purposed helper program …

  2. Difference between scalar, table-valued, and aggregate functions …

    Jul 14, 2016 · Aggregate Functions User-Defined Aggregates (UDA) are aggregates similar to SUM(), COUNT(), MIN(), MAX(), etc. and typically require a GROUP BY clause. These can …

  3. Insert/Update/Delete with function in SQL Server

    User-defined functions cannot be used to perform actions that modify the database state. I found one way to make INSERT, UPDATE or DELETE in function using xp_cmdshell.

  4. Is there a good reason for using User Defined Functions in SQL …

    3 Over the time, SQL Server has reduced the gap between UDFs and Stored Procedures. Many a times, you would be right using one or the other. The rule of thumb is Functions do a specific …

  5. sql - User Defined Function Best Practice - Stack Overflow

    Sep 15, 2010 · 7 I am contemplating using some user defined function calls within some of my queries instead of using a bunch of inline case statements. The inline statements will probably …

  6. How to report an error from a SQL Server user-defined function

    Sep 28, 2009 · I'm writing a user-defined function in SQL Server 2008. I know that functions cannot raise errors in the usual way - if you try to include the RAISERROR statement SQL …

  7. 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?

  8. sql server - performance difference between User Defined …

    Dec 21, 2009 · If a statement return rows doing a simple select over the data base, is there performance difference between implement it using Function and Procedures? I know it is …

  9. Pass table as parameter into sql server UDF - Stack Overflow

    For Transact-SQL functions, all data types, including CLR user-defined types and user-defined table types, are allowed except the timestamp data type. You can use user-defined table types.

  10. SQL User Defined Function Within Select - Stack Overflow

    Mar 22, 2015 · I have a user defined function in SQL called getBuisnessDays it takes @startdate and @enddate and returns the number of business days between the two dates. How can I …