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


how to update data using store procedure



how to update data using store procedure..

Answer / sathish

create procedure <pro.name>
{
@variable declartion,,,,,
AS
if exist(select the table with condition)
BEGIN

update query

END

else

BEGIN
//insert new data
END

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

Do you know caching feature?

0 Answers  


Which protocol is used in a web api?

0 Answers  


How can I configure asp.net applications that are running on a remote machine?

0 Answers  


Where viewstate value is stored in asp.net?

0 Answers  


RequiredFieldValidator--write code in javascript

3 Answers   Wipro,


What is the need to give <compilation debug=true> command ?

3 Answers   Netsweeper,


What is inproc and outproc?

0 Answers  


Explain Session state management options in ASP.NET.

0 Answers   CDC,


What is the difference between adding reference in solution explorer and adding references by using ?

0 Answers  


I have to send data throug querystring from one page to another. But it should not be displayed in URL. How it is possible?

6 Answers   EMR, Wipro,


explain code with datachaching with example

0 Answers  


Is asp.net 64-bit enabled? How?

0 Answers  


Categories