Can we call SP inside a query?
Answer Posted / 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 |
Post New Answer View All Answers
plss anybody specify tha constrian management system in dbms
If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security
What are policy management terms?
What is the main purpose of having conversation group?
How can you set the threshold at which sql server will generate keysets asynchronously?
Write the SQL query to drop, truncate and delete table.
How do I create a stored procedure in sql server?
Explain the first normal form(1nf)?
Suppose we have a table "MyTable" containing 10 rows, what query should be executed to update the odd rows "Salary" as 9000?
What are the different authentication modes in sql server? How can it be changed?
What is side by side migration in sql server?
Define indexes?
How to optimize stored procedures in sql server?
How do you test your database? : sql server database administration
How to view existing indexes on an given table using sys.indexes?