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

Explain “@@rowcount” and “@@error” in sql server?

1062


What are character string data types in ms sql server?

1222


Why and when do stored procedure recompile?

967


What is field with example?

906


What is the difference between dataadapter and datareader?

979


Is truncate a dml command?

919


Where actually sql azure database is hosted?

163


Do you know hot add cpu in sql server 2008?

939


How to end a stored procedure properly in ms sql server?

1066


What are the different types of collation sensitivity in sql server?

1082


Once setting replication, can you have distributor on sql server 2005, publisher of sql server 2008?

939


What is the difference between upgrade and migration in sql server?

1060


Is ssrs support other database except ms sql server?

139


Mention the 3 ways to get a count of the number of records in a table.

962


Suppose i have a table that contains 5 columns like col1,col2...colm5.I want to import only two column through BCP utility.How to do same through BCP in sybase.

2368