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 to update a null value field in sql server

eg
a table contains 3 fields id,name,salary
and 3 records
salary of 1 record is null
i want update the nullfield

111 arun 300
112 ddd 200
113 ttt null
i want to update table with add 100 to every record include null
after updation
the recrds should be
111 arun 400
112 ddd 300
113 ttt 100

Answer Posted / dinesh sharma

It Simple
Just Write Down The Query
update table_Name set salary=100 where salary is null

Is This Answer Correct ?    12 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who developed sql server?

929


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

1091


Explain Capacity planning to create a database? and how to monitor it?

4199


Tell me about normalization in DBMS.

993


Define normalisation?

1105


my name is sejal I have cleared the sbi clerk exam. I am BCA graduate My favorite subject RDBMS Relational database management system. so please send me rRDBMS related interview questions

1939


How to declare a cursor with "declare ... Cursor" in ms sql server?

1039


What is mean by candidate key?

1003


What are the steps you will take to improve the performance of a poor performing query?

973


What are different types of data sources?

1008


What is database black box testing?

1029


Do you know what is user defined datatypes and when you should go for them?

962


explain what is raid and what are different types of raid configurations? : Sql server database administration

996


How to define and use table alias names in ms sql server?

1129


How to delete all rows with truncate table statement in ms sql server?

999