Diffrent types of function
Answer / 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 |
Can we create clustered index on non primary key column
20 Answers ABC, CTS,
How can we rewrite sub-queries into simple select statements or with joins?
what is Full Text Search ?
Can you tell me the difference between DELETE & TRUNCATE commands?
What is bit datatype and what's the information that can be stored inside a bit column?
What is difference between after and before?
What is subquery? Explain the properties of a subquery?
What are functions in the sql server?
How do I create an extended event in sql server?
What is the difference between stored procedure and user defined functions?
What are the differences between char and nchar in ms sql server?
how to copy only distinct data into another table which is not already exist in database?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)