What is difference between stored procedure and user defined function?
Answer / Pankaj Kumar Yadav
A stored procedure is a pre-compiled collection of SQL statements that can accept input parameters, return result sets, and perform complex tasks. It does not return a value but can be called directly or through a client application. A User Defined Function (UDF) is a named series of Transact-SQL statements that returns a single scalar value. UDFs can be used in SELECT, WHERE, ORDER BY, GROUP BY, and other expressions.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to create an inline table-valued function?
What is save transaction and save point?
What do you mean by the term 'normalization'?
Can we join two tables without primary key?
Explain what is the use of custom fields in report?
What is WITH CHECK OPTION
3 Answers Karur Vysya Bank KVB,
How many types of Cursor in SQL SERVER?
Explain acid?
Explain primary key?
what are batch in sql server?
Create Index myIndex On myTable(myColumn) What type of Index will get created after executing the above statement
What are key constraints?
Oracle (3253)
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)