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
If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?
What is the tcp/ip port on which sql server runs?
Explain what are commit and rollback in sql?
Describe how to use linked server?
How to include date and time values in sql statements?
Explain filtered indexes?
How do I start sql server 2016?
What is the sql case statement used for? Explain with an example?
What is SQL Azure Federations?
Are there issues when exporting SSRS reports into Microsoft Excel? When my users are trying to export a SSRS report into Microsoft Excel, one or two columns in the report appear to merge together. Why might this be?
How does Report Builder support Analysis Services cubes?
Distinguish between commit and rollback?
define and explain the differences between clustered and non-clustered indexes.
What is “asynchronous” communication in sql server service broker?
What is the default port for SQL Server over a firewall?