What is a function? Give some example?

Answer Posted / vikas kant

User Define Functions are used to define its own T-Sql
Function which can have 0 or more input parameters and
returns a single scalar data value type or table data type.
we have three type of UDF:-

1.Scalar user defined function
2.Inline table valued Function
3.Multiple table valued function

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the different normalization forms?

713


what is a self join? : Sql server database administration

699


What is snapshot parameter in ssrs?

124


Can we call stored procedure in trigger?

722


What is a transact-sql statement batch in ms sql server?

672






What are commit and rollback in sql?

743


What is table-valued sub query?

736


What is the difference between a clustered index and a non-clustered index?

713


Explain various On-Delete options in a DB table. Which is the default option?

1137


What is ms sql server reporting services?

726


How to check status of stored procedure in sql server?

659


How to manipulate data from one table to another table ?

719


What is buffer cash and log cache in sql server?

799


What are the different Authentication modes in SQL Server and how can you change authentication mode?

810


as a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this? : Sql server administration

731