Can we call SP inside a query?
Answers were Sorted based on User's Feedback
Answer / sachin
We can't call sp inside query insted we can call Function
inside query,infact that is the major difference between
the SP and Function
| Is This Answer Correct ? | 45 Yes | 0 No |
Answer / aagstya
No We can not call SP inside any query! We can call only
function in query.
This is the major difference in between SQL Function and
SQL Stored Procedure
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / radhakrishnan
No, we can't call sp in query.
Eg:this query not working properly
select empno,empname,exec spname
from tablename.
but function we can call with in a query.
Eg:
select empno,empname,upper(empaddress)
from emptable
| Is This Answer Correct ? | 7 Yes | 0 No |
What is the log shipping?
What do you understand by user-defined function in the sql server and explain the steps to create and execute a user-defined function in the sql server?
What is a file group?
What is collation sensitivity?
About types of indexes in SQL server ?
What is table value parameters (tvp)?
Can we take the full database backup in log shipping?
What function does a database engine serve in the sql server?
Explain active/passive and active/active cluster configurations?
how many clustered indexes can be created on a table? : Sql server database administration
Why Master database is required?
Please give me queries for the following 1. To get the count of duplicate records. 2. A query to delete the duplicate records.
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)