Viewing 15 posts - 55,141 through 55,155 (of 59,072 total)
Wasn't meant to resolve business days per month nor figure out what a business month consists of... it was meant to find weekdays (despite the title). If you don't need...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 5:14 pm
Actually, that's quite a nice compliment...
thanks ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 5:11 pm
Dizzy...
I see no similar problem... it operates as expected for the dates you posted having problems with...
-- Wed 1st May 2002 and an end date of Fri 31st...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 5:10 pm
Heh... sorry... you post faster than I do ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 8:03 am
No... not the right way... you have to copy a quote box from some other thread and paste it into your response... then edit what's in that graphic by copying...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 8:02 am
Yes... sp__ will still go to MASTER first because it still contains sp_ as the first 3 characters.
Yes, you can do this without a function... it'll be a bit (maybe...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 7:56 am
Ah... Matt's right... I left out a step... I should have said to insert all your missing rows into YourTable first, then run my code... don't need to add extra...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 7:52 am
You know... that's a much better answer... ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 7:50 am
Roger that... still shouldn't matter but "can do"...
This obviously won't work if foreign keys exist... ![]()
First things first... make a "backup" of the table...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 7:32 am
Jude,
What are you actually using?
Using CAST(anynumber AS MONEY) always results in 4 decimal places, not the 2 that you claimed it does...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 7:06 am
Wow... lot's and lot's of suggestions... but I've gotta ask... the code runs almost instantaneously in QA even when there's not enough qualifying rows to satisfy TOP but causes the GUI to...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 6:51 am
Mick,
Yeah, it can be done but I gotta ask... doesn't the ID field mean anything?
If you do this, any joins that reference...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 6:37 am
The connections are not active and, therefor, nothing you really need to worry about.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 6:33 am
Because of the contraints you have in the CTE, you might not even need MIN in the sub-selects.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 6:32 am
Copy a quote from an existing post... paste it to yours... edit the quote using CPR (Copy, Paste, Replace).
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 6:14 am
Viewing 15 posts - 55,141 through 55,155 (of 59,072 total)