SQL Server Functions

How to manage a SQL Server function?

How to manage a SQL Server function? SQL Server user-defined functions are very useful when you start T-SQL development on SQL Server. You need to use them very often so you have to learn the right syntaxes and avoid errors. At the beginning it can be tricky and frustrating because

SQL Server Functions

How to create a SQL Server function ?

How to create a SQL Server function? For example, the SQL Server function below takes the customer number as a parameter and returns the customer name. Indeed, the function stores the customer name in the Customer Name variable, and it returns it as a result. How to create a SQL

blank
SQL Server Functions

How to call a SQL Server function?

How to call a SQL Server user defined function? The SQL syntax to call a function is different from the call to a stored procedure. Use SQL Server function the same way you select data from a table. How to call a SQL Server function? A SQL Server user-defined function

blank
SQL Server

How to modify a SQL Server function?

How to modify a SQL Server function? How to update the code of an SQL Server function without deleting it? The solution is to update its definition using the SQL Server Alter Function command. The query updates the function already created in the database. This new code returns not only

blank
SQL Server Functions

How to delete a SQL Server function ?

How to delete a SQL Server function? Or how to drop a SQL Server function, also called user-defined function? This SQL command allows to get rid of a SQL Server function. However, it does not check if the function exists. This article shows how to do this with a very simple