How would you Update the rows which are divisible by 10,
given a set of numbers in column?
Answers were Sorted based on User's Feedback
Answer / pandian s
UPDATE TableName SET Column1 = <Value>
WHERE ColumnName % 10 = 0
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / bala
update <table> set <col> = <value> where round(<col>/10,0)
= (<col>/10)
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / picture12345
select * from TableName where ColumnName%10=0
Is This Answer Correct ? | 7 Yes | 10 No |
what is the difference between group and having give an example with query and sample output
What is an extended Stored Procedure?
Explain what is it unwise to create wide clustered index keys?
Which is the best place or learning center for MS SQL?????In Bangladesh?????
What is the difference between having clause and where clause in sql server?
how can ur insert the emp table
What are the dmvs? : sql server database administration
How to work on DTS?what is the main requirement?
Explain transaction server implicit?
What options are there to delete rows on the publisher and not on the subscriber? : sql server replication
Explain Trigger with an example?
What is an extended stored procedure? Can you instantiate a COM object by using T-SQL?