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...

Difference between writing SQL query and stored procedure ?

Answer Posted / prakash

1. SP is easy to allocate GRANT AND REVOKE (Privileges)
Rights for user

2. SP is execute more faster than query statement

3. SP, is already compiled Object

4. Query is Sql Statement where as SP batch of Sql Statement

5. In a query memory management is more high than the SP

Is This Answer Correct ?    27 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How much is a sql server license?

948


Difference between report and query parameter. Why do we need different type of parameter?

946


I have all the primary data files, secondary data files as well as logs. Now, tell me can I still restore the database without having a full backup? : sql server database administration

1114


What is primary key and example?

936


What is user-defined function?

962


Can we linked SharePoint to a SQL database?

1017


How to generate create function script on an existing function?

1108


What it means to be triggered?

987


What is service broker? : sql server database administration

984


What happens if null values are involved in arithmetic operations?

1004


what is the main function of a query parameter?

152


Do you know the different ddl commands in sql?

1044


What is user-defined function? Explain its types i.e. Scalar and inline table value user-defined function?

895


You have to store user responses of ‘yes’ and ‘no’ what kind of data type is best suited for this task?

936


Explain throw statement in sql server 2008?

982