sql server - how to check if a field of a column is null or not , if NULL then update -


create procedure:-i have table named evaluator column tag. need find if column tag has null values or not. if update values present in tag table.

tag tabel:    tag_id  tag_name   tag     1        c++       cp     2        oracle    orc     3        java      jv 

evaluator table:

   eval_id   eval_name   domain     specialization   tag       1        john       database      oracle         null      2        matthew     programming    java          jv      3        edward     programming    c++           null 

generally can update empty tag values this

update evaluator set tag = 'some_tag' tag null 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -