Viewing 11 posts - 1 through 11 (of 11 total)
Thanks for the quick response, it's obvious when you think about it, I obviously wasn't thinking 🙂
November 27, 2013 at 4:18 am
Thanks for the responses guys, I'll give 'em a go
March 12, 2013 at 1:13 am
I'm not particularly interested in the transaction logs anyway as I will always have the source data files to reload from if anything goes wrong, so is there any way...
January 10, 2013 at 7:14 am
Gail
Will do, thanks for the tip, don't want to get into bad habits this early
December 10, 2012 at 7:14 am
Roland,
That worked a treat, many thanks, I was obviously over complicating things
December 10, 2012 at 6:56 am
Many thanks for your response, I'll give it a go and let you know how I get on
October 15, 2012 at 11:54 pm
I used a CASE clause and it seems to be working
WHEREHOrder.Acno = CASE LTRIM(RTRIM(@Acno))
WHEN '' THEN HOrder.Acno
ELSE @Acno
END
AND
SUBSTRING(HDespatch.ArcOrdno,1,4)=CASE LTRIM(RTRIM(@Unit))
WHEN '' THEN SUBSTRING(HDespatch.ArcOrdno,1,4)
ELSE @Unit
END
AND
SUBSTRING(HDespatch.ArcOrdno,5,8)>=CASE LTRIM(RTRIM(@Fdate))
WHEN '' THEN...
March 9, 2012 at 4:45 am
Viewing 11 posts - 1 through 11 (of 11 total)