Explain the difference between functions and stored procedures in sql server?
Answer / Sandeep Kumar Jindal
Functions are reusable pieces of code that return a single value, while stored procedures are precompiled collections of SQL statements and optional control-of-flow structures that can accept parameters and return multiple results. Functions are typically used for calculations or to encapsulate logic within a single result, while stored procedures are often used to execute complex tasks such as transactions, data manipulation, and complex queries.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can we check the sql server version?
What is a self join in sql server?
What are window functions in sql server?
What number sorts of privileges are accessible in sql?
Where are SQL server users names and passwords are stored in sql server?
How can I track the changes or identify the latest insert-update-delete from a table?
Do you know what are the properties of the relational tables?
Explain few examples of stored procedure over triggers?
Observed that some SP’s / Jobs are processing late, how to troubleshoot to improve performance?
in emptable i want to retrive the name of employee whose name in 'J'char.exp: arjun,jagadesh,niranjan,anju,aaaj etc.
Is INSTEAD OF trigger directly applicable to Table ?
1. SELECT SUM(sal) as “Gross Salary” from EMPLOYEES; 2. SELECT MAX(sal) as “Highest Salary” from EMPLOYEES; ouput should be in table format
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)