Viewing 5 posts - 1 through 5 (of 5 total)
Hmm, then that is strange, I can't see anything wrong with your Case statement, and in my own tests I can't reproduce the problem. Is it possible that the...
November 20, 2007 at 11:32 am
I'm not sure what you mean by 'not using the CASE'.
In your code the Case is run on every record. One of three things can happen:
If your carrier_id does...
November 20, 2007 at 10:49 am
Thanks for all the ideas! I ended up going with the cross apply in this case, and it works great.
November 20, 2007 at 10:42 am
How about just using the keyword Not?
As in,
WHEN NOT P21PLAY.dbo.p21_view_oe_pick_ticket.carrier_id IN
November 20, 2007 at 9:37 am
The only thing I could add is that maybe you could put the 'EXECUTE dbo.sp_Procedure' line inside the function, and then using the function in your select statement. Not...
November 20, 2007 at 9:25 am
Viewing 5 posts - 1 through 5 (of 5 total)