How to avoid cursors?
Answer Posted / sunny
update salary set sal=(
case
when sal between 100 and 300 then sal + 1000
when sal between 300 and 500 then sal + 2000
when sal between 500 and 700 then sal + 3000
end)
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is report subscription?
What are data resources?
What is the distinction amongst delete and truncate?
How to modify existing triggers using "alter trigger"?
What are types of scd? : sql server analysis services, ssas
How can i Relate Tables in SSIS
What are triggers? How many triggers you can have on a table? How to invoke a trigger on demand?
What are different types of join?
Explain different types of Normalization.
What is the difference between inner join and equi join?
What happens on checkpoint?
How to disable triggers using "disable trigger"?
What are the different types of backups avaialabe in sql server 2005?
What are the reporting services components?
What are the main differences between #temp tables and @table variables and which one is preferred?