Viewing 4 posts - 1 through 5 (of 5 total)
OK, This is what I have implemented.
If exists (select idbatch from jbjob inner join insts_temp on insts_temp.inst = jbjob.idInst and insts_temp.BusDate = jbjob.BusinessDate and jbjob.idbatch=40)
Begin
...
April 18, 2011 at 2:55 am
Thanks for your reply.
I implemented this through Delete statements after checking batch condition with if exists. It worked as expected.
Thanks!!
Sunny
April 18, 2011 at 1:33 am
Ok. Let me explain the situation for which I need solution.
I have 2 tables.
1: Pos_testing. Columns: Idinst
2: Pos. Columns: Idinst and idbatch
Now pos_testing has 3 values. 12345,123456,1234567
And pos has 5...
April 12, 2011 at 10:12 pm
Viewing 4 posts - 1 through 5 (of 5 total)