Code:
[B]Item A[/B] Code ---------- 250 357.2 362.0 366.41 648.0
Code:
[B]Item B[/B] select cm.Membid ,cm.ADMDIAG from dbo.RVS_CLAIM_MASTERS cm where cm.membid in (select distinct memberid from CLINICAL.dbo.DM_CDC_Tracking_Excel) and cm.ADMDIAG in (select code from #diag a inner join dbo.RVS_CLAIM_MASTERS b on a.code like b.admdiag +'%')
Problem: I'm not able to figure out the code to pull a range of values based on the Item A codes using Item B script. For example, if i'm searching for 250 the source database has values of 250, 250.00. 250.1 i should be able the range value of 250. Make sense? I tried to search the JOIN with LIKE and i'm getting zero results.
Thanks.
Comment