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

I need to write a simple query,which one is better select
statement or stored procedure?and why?

Answer Posted / sudipta santra

A simple query because through query we can throw the result
of the data based on conditions but in stored procedure we
can not , as the procedure is used for the specific time
based for the specific value return through out/IN out .

A simple query is best. But it is wrong that we can not do
through a proc, we can do but the effort will take more.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of pl/sql packages?

1107


difference between anonymous blocks and sub-programs.

1138


What is the use of procedures?

975


What is an exception in pl/sql?

1089


In what condition is it good to disable a trigger?

1013


Does truncate remove indexes?

1034


what is the difference between join and union? : Sql dba

1113


What makes a good primary key?

1042


What is package in pl sql?

1027


Is json a nosql?

981


What is a unique constraint?

1077


Which command is used to call a stored procedure?

1001


what is sql? : Sql dba

1030


What is the difference between jpql and sql?

1095


What is normalization sql?

1060