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 would you Update the rows which are divisible by 10,
given a set of numbers in column?

Answer Posted / bala

update <table> set <col> = <value> where round(<col>/10,0)
= (<col>/10)

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When cursors are useful?

1171


What are the disadvantages of using querystrings to send data from one page to another?

1072


What is the difference between getdate and sysdatetime?

1063


How to select some specific rows from a table in ms sql server?

1057


What are the main differences between #temp tables and @table variables and which one is preferred?

1134


What are the properties of the transaction?

1052


How to write a query with a left outer join in ms sql server?

1031


Can an entity have two primary keys?

1030


How to list all user names in a database?

1094


Explain syntax for viewing trigger?

970


What are statistics?

1051


How to download microsoft sql server 2005 express edition?

1094


can we have a nested transaction? : Sql server database administration

1193


How to rename an existing column with sql server management studio?

1054


Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture

968