What are the differences between user defined functions and stored procedures?
Answer / Vijendra Pratap Singh
User-defined functions (UDFs) are reusable pieces of T-SQL code that return a single scalar value, whereas stored procedures execute a set of commands but don't return a value. UDFs can be used within SELECT, WHERE, and ORDER BY clauses, while stored procedures can handle complex business logic and transactions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is sql server difficult to learn?
How can we determine what objects a user-defined function depends upon?
List the ways in which dynamic sql can be executed?
What is database replication? What are the different types of replication you can set up in sql server?
Explain an incremental backup?
in a table is b in column k (manikanta,sivananda,muralidhar) i want result like (mnikanta,sivnanda,murlidhar) please slove it
Indexes are updated automatically is the full-text index also updated automatically?
Explain some DBCC commands?
Explain the architecture of SQL Server?
here id col have primary key and identity id name 1 a 2 b 3 c 4 d delete 2nd row then o/p will be id name 1 a 3 c 4 d next inssert 2nd row and i want o/p will be id name 1 a 2 e 3 c 4 d
How to select some specific columns from a table in a query in ms sql server?
how insert selected column only ?
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)