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 happens if null values are involved in comparison operations?
How can you insert null values in a column while inserting the data?
What are the types of indexing?
difference between truncate, delete aur drop?
Is the order of columns in the set clause important in ms sql server?
What is triggers and stored procedures?
Explain acid?
What are the advantages of using third-party tools?
How to Improve the performencs of SQL Server 2005 exclude stored Procedure and Indexes?
i have a table like this Eno ename 1 a 2 b 3 c i want to display ename and bossname from table hint boss is also an employee
Do you know what are the properties of the relational tables?
Which databases are part of SQL server default installation? Explain the usage of each?
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)