Viewing 15 posts - 76 through 90 (of 637 total)
I did insert your sample records and ran the code, See attached. It works well.
If object_id('tempdb..#t') IS NOT NULL DROP TABLE #t;
CREATE TABLE #t( BeneficiaryID VARCHAR(10),...
February 5, 2018 at 2:52 pm
INSERT INTO...
February 5, 2018 at 2:25 pm
Thanks for all the input. Managed to get it to work.
So this time, it considers the year.
Run the code and you will see that 78576109 does not get...
February 5, 2018 at 1:31 pm
February 5, 2018 at 1:10 pm
Mr Drew: Agreed! Thanks for validating.
I did modify the query ( Also added more test data, Added 2 more users )
BTW - I am looking for at...
February 5, 2018 at 1:07 pm
Managed to find the solution a similar solution in "STACK OVER FLOW" and then had to modify it slightly. So it works .. Here you go
February 5, 2018 at 12:01 pm
January 25, 2018 at 3:54 pm
January 25, 2018 at 3:01 pm
January 25, 2018 at 1:30 pm
January 25, 2018 at 1:10 pm
January 25, 2018 at 1:06 pm
if object_id('tempdb..#rx') IS NOT NULl DROP TABLE #rx
GO
create table #rx( MemN VARCHAR(15), ClaimNumber VARCHAR(20), RX_Number VARCHAR(20), Claim_Type CHAR(1) ) ;
INSERT INTO #rx(MemN,ClaimNumber,RX_Number,Claim_Type)...
January 25, 2018 at 11:59 am
Viewing 15 posts - 76 through 90 (of 637 total)