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
Does partitioning ssd reduce performance?
there is a trigger defined for insert operations on a table, in an oltp system. The trigger is written to instantiate a com object and pass the newly inserted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better? : Sql server database administration
What are the steps you must follow to hide sql server instances?
What is database dimension? : sql server analysis services, ssas
How do I find the sql server database version?
How can we use ConnectorJ JDBC Driver with MS SQL?
What do you mean by data manipulation language?
Explain various data region available in ssrs with their use?
Is port 1433 secure?
What is self contained sub query?
What is isnull() operator?
Do you know sql server 2008 introduces automatic auditing?
How to create a new login name in ms sql server?
Explain nested stored procedure. Syntax and an example for create nested stored procedure?
What is the difference between a stored procedure and a user defined function?