Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Diffrent types of function

Answer Posted / subbu

There are three types :
Scalar
In-line and
Multi-statement functions

Scalar UDFs return a single value. They are similar to
built-in functions such as DB_NAME(), GETDATE(), or USER_ID
(), which return a single string, date, or integer

In-line UDFs return a single row or multiple rows and can
contain a single SELECT statement. Because in-line UDFs are
limited to a single SELECT, they can't contain much logic

multi-statement UDFs can contain any number of statements
that populate the table variable to be returned. Notice
that although you can use INSERT, UPDATE, and DELETE
statements against the table variable being returned, a
function cannot modify data in permanent tables

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why would you call update statistics? : Sql server database administration

1010


What is Sqlpaging in SqlServer 2005 ?

1010


How to join two tables in a single query in ms sql server?

939


What is acid properties?

1012


What is enhanced database mirroring in sql server 2008?

911


How to write the storeprocedure with in the store procedure? and how can we write the store procedure with in a trigger vice versa? plz post me the exact answer?

2529


What is compound operators?

970


How to test subquery results with the exists operator?

1028


Explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

1094


What is difference statement and preparedstatement?

932


How to optimize stored procedures in sql server?

1119


What is the difference between a check constraint and a rule?

1128


How to use wildcard characters in like operations in ms sql server?

1058


How to replace given values with null using nullif()?

922


What is a collation in ms sql server?

1012