Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can we call SP inside a query?

Answers were Sorted based on User's Feedback



Can we call SP inside a query?..

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

Can we call SP inside a query?..

Answer / rajasekaran

no we can't call SP inside a query

Is This Answer Correct ?    21 Yes 6 No

Can we call SP inside a query?..

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

Can we call SP inside a query?..

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

Can we call SP inside a query?..

Answer / mohammed

Yes we can

Is This Answer Correct ?    5 Yes 41 No

Post New Answer

More SQL Server Interview Questions

Explain the use of keyword with encryption. Create a store procedure with encryption?

0 Answers  


What are the main differences between #temp tables and @table variables and which one is preferred?

0 Answers  


How do I find the sql server instance name?

0 Answers  


Let us say the SQL Server crashed and you are rebuilding the databases including the master database what procedure to you follow?

2 Answers  


How do I find the size of a sql server database?

0 Answers  


What is a Lock and let me know Different types of locks?

2 Answers  


What are the limitation of the Online Index Rebuild Operation?

1 Answers  


What are the types of indexes?

0 Answers  


Normalization and denormalization

3 Answers   Wipro,


How to update multiple rows with one update statement in ms sql server?

0 Answers  


What do you mean by table and field in sql?

0 Answers  


How do you check the performance of a query and how do you optimize it?

1 Answers  


Categories