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

How to sort query output in descending order in ms sql server?

0 Answers  


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?

0 Answers  


How to create a simple table to test triggers in ms sql server?

0 Answers  


We need to perform what steps in the following order to work with a cursor?

0 Answers  


difference between Clustered index and non clustered index ?

0 Answers   Infosys,


Advantages and Disadvantages of Cursor?

15 Answers   Polytechnic, TCS, Zenith,


What is table-valued sub query?

0 Answers  


What does it mean to normalize a database and why would you do it?

0 Answers  


What is the difference between SSAS 2000 and SSAS 2005?

1 Answers   APX,


Why use sub query in sql server and list out types of sub queries?

0 Answers  


If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security

0 Answers  


Categories