Link to home
Start Free TrialLog in
Avatar of Anandhi1
Anandhi1

asked on

Sql query to update a column without overwriting the existing data.

How do we update a column in SQL database without overwriting the existing data?
ASKER CERTIFIED SOLUTION
Avatar of Aneesh
Aneesh
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
update table1
set field1 = 'whatever' where field1 is null

only writes into blank field1