Viewing 15 posts - 3,676 through 3,690 (of 3,956 total)
Jeff Moden (4/26/2012)
dwain.c (4/26/2012)
You mean I gotta remember who and when?I'm lucky sometimes if I can remember the day of the week.
Nope... just quote the thread by hitting the quote...
April 26, 2012 at 9:45 pm
Eugene,
Didn't I see you post a CrystalBall CLR last month?
I gotta locate it because I planned to run a performance test against my new MagicMirror SP using Jeff Moden's million...
April 26, 2012 at 9:04 pm
No need to reiterate what you've already posted. Most members are capable enough to scroll up and see it.
What I was asking you to confirm is whether the last...
April 26, 2012 at 8:51 pm
Why don't you need (or want) the totals displayed as decimal hours so you can multiply them by rates easier?
I've always figured it's because blue-collar folk relate better to HH:MM...
April 26, 2012 at 8:48 pm
This version will probably perform a little better but it doesn't offer quite as fine a degree of control over specifically which description appears.
;WITH a AS (
SELECT Proj, Item, [Desc]
,ROW_NUMBER()...
April 26, 2012 at 8:37 pm
This solution will sum the Qty by Proj, Item and include the first non-NULL description in the results.
DECLARE @t TABLE
(Proj VARCHAR(3), Item VARCHAR(3), [Desc] VARCHAR(20), Qty INT)
INSERT INTO @t
SELECT '001','AAA','Desc1',22
UNION...
April 26, 2012 at 8:16 pm
You gotta love the recursive CTE version of this solution, even though it doesn't perform as well as the tally table version.
CREATE TABLE #t (strings VARCHAR(100));
-- Count the unique characters
;WITH...
April 26, 2012 at 7:54 pm
I was looking at a stock table with the columns Part Number and Part Description. I just found out that we have over 95 tables that contain these two columns,...
April 26, 2012 at 7:15 pm
jwmott - It is rather annoying but I haven't figured out an easy way to do that either.
April 26, 2012 at 7:13 pm
You mean I gotta remember who and when?
I'm lucky sometimes if I can remember the day of the week.
April 26, 2012 at 7:09 pm
Maybe someone at the water cooler can help me with something perplexing. Steve posted the following earlier:
Anyone want to tackle a semi-complex reporting / accounting issue?
http://www.sqlservercentral.com/Forums/Topic1290025-1291-1.aspx#bm1290373
My question...
April 26, 2012 at 7:02 pm
idyana,
As I promised, I am willing to take another shot at this but before I do, what I'm going to need from you is an exact expected results set based...
April 26, 2012 at 6:54 pm
Nick - Sorry I just realized you provided the information on your accounting calendar in the prior point. However what I need is DDL and some readily consumable data...
April 26, 2012 at 6:48 pm
OK then. I'll need information on your Accounting Calendar table to do this right.
For the third question, where you say MTD is BETWEEN start date AND end date. ...
April 26, 2012 at 6:46 pm
This fiscal year start thing is going to make your life interesting. I've got in mind a way to do what you want, but it depends on some assumptions...
April 26, 2012 at 9:28 am
Viewing 15 posts - 3,676 through 3,690 (of 3,956 total)