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

What is a non-clustered index?

998


What command is used to rename the database?

1014


How do I shrink an ldf file?

980


Write the syntax for stuff function in an sql server?

1030


What are “phantom rows”?

1662


What is TDS(Tabular Data Stream) Gateway?

121


What is transaction server consistency?

1047


how will add additional conditions in sql?

1108


How many levels of sp nesting is possible?

1056


When does the auto update index statistics feature in sql server turn itself on?q) what specific conditions database should meet, before you can bulk copy data into it using bcp?

979


What is user defined datatypes and when you should go for them?

1016


What is the difference between an index and a unique index?

1003


As per your opinion what are the five top responsibilities of a dba? : sql server database administration

1137


What are the difference between primary keys and foreign keys?

966


Why we should not use triggers?

963