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 can you get @@error and @@rowcount at the same time?

Answer Posted / raji

@@error - displays the error number of last T-Sql statement
@@rowcount - displays the total row count of last T-Sql
statement

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You are designing a database for your human resources department in the employee table, there is a field for social security number, which cannot contain null values if no value is given, you want a value of unknown to be inserted in this field what is the best approach?

1048


List the different types of collation sensitivities in sql server?

972


What does it mean to manipulate data?

940


Explain how to send email from sql database?

972


Are resultset updatable?

895


What is join and name different type of joins?

970


What is role playing dimension with two examples? : sql server analysis services, ssas

952


How to delete exactly duplicate records from a table?

1006


What number sorts of privileges are accessible in sql?

978


What is scd (slowly changing dimension)? : sql server analysis services, ssas

951


What is the library index called?

996


What are the benefits of filtered indexes?

977


as a part of your job, what are the dbcc commands that you commonly use for database maintenance? : Sql server database administration

857


What is purpose of normalization?

892


Suppose we have a table "MyTable" containing 10 rows, what query should be executed to update the odd rows "Salary" as 9000?

932