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

what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration

0 Answers  


What is faster join or union?

0 Answers  


What is a benefit of using an after insert trigger over using a before insert trigger?

0 Answers  


What is @@Identity in sql?

1 Answers   Cap Gemini,


What is tablesample?

0 Answers  


How do I find the transaction log size in sql server?

0 Answers  


Explain log shipping and mention its advantages.

0 Answers  


Difference between primary key and clustered index?

0 Answers  


what is a traditional network library for sql servers? : Sql server database administration

0 Answers  


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

2 Answers  


Can multiple columns be used in sql group by clause in ms sql server?

0 Answers  


How to create a user to access a database in ms sql server using "create user" statements?

0 Answers  


Categories