About 580,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. 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.

  3. 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 …

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

  5. 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 …

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

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

  8. SQL Server - where is "sys.functions"? - Stack Overflow

    Jun 3, 2015 · "AF" is not considered a "function" in terms of SQL Server's object metadata even though it stands for AGGREGATE_FUNCTION. It is more clear that an Aggregate is an object …

  9. Return multiple values from a SQL Server function

    Nov 10, 2008 · How would I return multiple values (say, a number and a string) from a user-defined function in SQL Server?

  10. 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 …