Quantcast
Channel: SQL Server Database Engine Forum
Viewing all articles
Browse latest Browse all 15872

Select All the Records from the First Occurence of not null Value

$
0
0

Hi Experts , 

Please help me out from this ?

I have a Column OfficerID in the Table, Select all the records from the first occurrence of OFFICERID ? 

OfficerID

NULL

NULL

001

002

003

NULL

NULL

OutpUt :

001

002

003

NULL

NULL

Waiting For your Response Guys , 


Viewing all articles
Browse latest Browse all 15872


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