Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

SQL Query To Check not null and update to some value

$
0
0

We have a table and when I run a select statement I want to set value = yes if EmpID is Not Null

Select Number, EmpID from Table1

Table1

Number EmpID
7812262261 NULL
07875 116189 NULL
7956436533 NULL
7875116287 7336287
7875116234 NULL

Please Suggest.


Regards~
Deepak Arora
-------------------------------------



Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>