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 |
How to sort query output in descending order in ms sql server?
how to find the particular row in table?(means suppose one table contain 10 rows , in these 10 rows how to find the particular row(example in 10 rows i want 5 row how)?
16 Answers Accenture, IBM, Marlabs,
Explain how to maintain a fill factor in existing indexes?
How to create a simple table to test triggers in ms sql server?
We need to perform what steps in the following order to work with a cursor?
difference between Clustered index and non clustered index ?
Advantages and Disadvantages of Cursor?
15 Answers Polytechnic, TCS, Zenith,
What is table-valued sub query?
What does it mean to normalize a database and why would you do it?
What is the difference between SSAS 2000 and SSAS 2005?
Why use sub query in sql server and list out types of sub queries?
If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security
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)