What is a function? Give some example?

Answer Posted / dinesh sharma

In Sql Server Function are Like S.P Mean Batch of SQL
command. But Function Must Return Single Value
In SQL Server Four Type Of Function
1)Table-Valued Function:Return Datatable
2)Scaler Valued Function:return Single value
3)Aggreated Funtion:Return Aggreatged Result set
4)System Funtion:used by system like Rowset etc.

Is This Answer Correct ?    8 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the ways in which dynamic sql can be executed?

792


Why do we use functions?

683


What xml support does the sql server extend?

724


What is logshipping and its purpose?

742


How to find out what is the default collation in a database?

798


How to connect to SQL Azure Database by using sqlcmd?

128


What are the types of subquery?

737


What is data modification?

701


What is Federation and Federation Member?

90


What is the order by used for?

794


What are the acid properties?

725


What is sql collation?

829


Difference between aggregate functions of sql?

839


How to create a user name in a database?

776


How to change the system date and time from SQL Plus Terminal ?

862