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 do you find the error, how can you know the number of
rows effected by last SQL statement?

Answers were Sorted based on User's Feedback



How do you find the error, how can you know the number of rows effected by last SQL statement?..

Answer / chandra rekha

select @@error'Error'
select @@rowcount'Rows'

Is This Answer Correct ?    4 Yes 0 No

How do you find the error, how can you know the number of rows effected by last SQL statement?..

Answer / laxman

select @er=@@error,@rc=@@rowcount

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More SQL Server Interview Questions

Which tcl commands are available on the sql server?

0 Answers  


Which command is used for user defined error messages?

0 Answers  


write the query for find the top 2 highest salary in sql server

36 Answers   Cranes, Jayanti Software, Medi Assist, Rmax, TCS,


Does windows server 2016 come with sql server?

0 Answers  


How to filter out duplications in the returning rows in ms sql server?

0 Answers  


what is a major difference between sql server 6.5 and 7.0 platform wise? : Sql server database administration

0 Answers  


Explain multiserver query

0 Answers  


What is bcp? When does it use?

0 Answers  


Can some one please help with a query which will take only max value of a column in a join.

2 Answers  


Why union all is faster than union?

0 Answers  


Explain the database you used in your final year project?

0 Answers   Wipro,


What are information schema views?

0 Answers  


Categories