Viewing 8 posts - 1 through 9 (of 9 total)
Hi for unmathced record will be handle like below syntax
Empkey = isnull(aa.empkey,(select empkey from dimemp where empid=-1)),
deptKey = isnull(bb.deptkey,(select deptkey from dimdept where deptid=-1))
it will work good.
when we go...
December 11, 2015 at 4:45 am
Hi its very close to my expected result.we need to handled unmatched empid and deptid related values also
example trantable empid=23 this empid related dimemp table do not have empid=23...
December 11, 2015 at 3:23 am
insert statement working fine with merge or with out merge statement.mine s trucked with update statement based conditions .here mainly trantable related transactionid is exist or not in facttran...
December 10, 2015 at 6:57 pm
Hi Thank you very much. left join logic given good performance also to me.
all most very close to expected result.
I have small doubt in patient table: example :...
November 23, 2015 at 10:29 am
outer apply logic already I tested since 7 hours back.that query execution still running.so I mention approximately time .
November 23, 2015 at 8:36 am
Hi If I tested records for 1 or 2 patients that time execution taken less time only.when I ran 17 laksh + records to use outer apply that time its...
November 23, 2015 at 8:16 am
Hi , as per given status data we consider highest 2,4,3,1 only.here if we found multiple status values for same pn then we need to consider max(sdate).
please...
November 23, 2015 at 7:10 am
Viewing 8 posts - 1 through 9 (of 9 total)