Viewing 15 posts - 1,156 through 1,170 (of 1,424 total)
Hey there... so further on down the road... I was wondering how the Calendar table was defined in this answer. Any help would be much appreciated. This thread explains the...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 20, 2020 at 3:43 pm
In this thread:
The OP apparently was provided something that worked for SQL Server 2000. It doesn't look like it was posted tho.
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 20, 2020 at 2:13 pm
You're using 2008R2 and I don't think the daterange function I would use here goes back that far. There was a similar question asked a while back and another SSC...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 20, 2020 at 2:03 pm
To split into days do you want to allocate evenly across all days or exclude weekends and holidays?
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 20, 2020 at 1:48 pm
;with
unpiv_cte as (
select
500100 Account, 2020 [Year],
100 Month1, 200 Month2, 300 Month3,...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 20, 2020 at 1:46 pm
C4 returns no rows
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 18, 2020 at 9:45 pm
Could you please share the (appropriately quoted) insert statement from your original question?
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 18, 2020 at 8:39 pm
Could you share the (appropriately quoted) insert statement from your original question? You've asked a second question without having shared the solution to the original question. It's frustrating because we...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 18, 2020 at 7:25 pm
I think you need a few functions for this solution. SCDecade almost had it right, to determine the @StartDate, try:
SET @StartDate = SELECT DATEFROMPARTS(@year, ((@QuarterID -...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 17, 2020 at 9:29 pm
Ok cool
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 17, 2020 at 3:14 pm
Removed
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 17, 2020 at 3:13 pm
Year & Quarter from the UI form.
@QuarterID bigint
@Year bigint
Bigint really? It's like parking...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 17, 2020 at 2:59 pm
SELECT ServerName + ', ' AS 'data()'
FROM ServerList
FOR XML PATH('');
That's nice. I've only ever seen string aggregation (prior to Sql Server 2016) done with the the...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 17, 2020 at 2:04 pm
select
concat(emp_lname, ',', emp_fname, '-', emp_key) lf_name,
city_name,
city_zip
from
emp_info;
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 15, 2020 at 1:19 pm
"Excel, I love ya, but we need to talk about your personal habits..." Overall it could be a workable system although it is based (heavily) on dynamic sql. To expect...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
February 14, 2020 at 7:53 pm
Viewing 15 posts - 1,156 through 1,170 (of 1,424 total)