About 1,780,000 results
Open links in new tab
  1. Function vs. Stored Procedure in SQL Server - Stack Overflow

    In SQL Server, functions and stored procedure are two different types of entities. Function: In SQL Server database, the functions are used to perform some actions and the action returns a …

  2. How to view a stored function - SQL Server - Stack Overflow

    Mar 20, 2013 · 36 You can use sp_helptext command to view the definition. It simply does Displays the definition of a user-defined rule, default, unencrypted Transact-SQL stored …

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

    Jul 14, 2016 · What is the difference between scalar-valued, table-valued, and aggregate functions in SQL server? And does calling them from a query need a different method, or do …

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

    Jun 3, 2015 · 121 SQL Server 2005 has great sys.XXX views on the system catalog which I use frequently. What stumbles me is this: why is there a sys.procedures view to see info about …

  5. sql server - How can I filter words in SQL using a function? - Stack ...

    How can I filter words in SQL using a function? I'm having a hard time if I explain it, so I'm giving an example: ID WebsiteName 1 www.yahoo.com 2 www.google.com 3 www.youtube.com …

  6. sql - How to execute Table valued function - Stack Overflow

    sql sql-server sql-server-2008 t-sql edited Oct 19, 2016 at 14:24 cuongle 75.5k 30 155 212

  7. sql - Multi-statement Table Valued Function vs Inline Table Valued ...

    31 Internally, SQL Server treats an inline table valued function much like it would a view and treats a multi-statement table valued function similar to how it would a stored procedure.

  8. sql server - SQL list of all the user defined functions in a database ...

    I am looking for a SQL query that outputs the function definitions for all of the user defined functions in a database catalog. I have found as far as SELECT OBJECT_DEFINITION …

  9. sql - Window functions to count distinct records - Stack Overflow

    0 If you are using T-SQL, it is directly possible to use a window function by using APPROX_COUNT_DISTINCT, so for example:

  10. sql server - Declare variable in table valued function - Stack Overflow

    Jul 12, 2011 · The first example is known as an "Inline Table-Valued Function" which has performance benefits compared to a Multi-statement Table-Valued Function, namely the …