Viewing 15 posts - 1,666 through 1,680 (of 2,860 total)
Another way to check would be to run:
EXEC sp_configure
and then check if the configured value matches the running value, right? If you ran RECONFIGURE, they should match...
July 16, 2020 at 2:48 pm
My approach is to do as little data manipulation on the SQL side as possible before presenting it to the end user or application. I'm not saying that it is...
July 15, 2020 at 9:27 pm
I agree with jcelko here 100%.
If this table structure is not pre-defined for you, I would definitely look at doing it in at least 1st normal form. You will also...
July 15, 2020 at 9:05 pm
Never mind... sounds like the issue is actually not in the DATEADD part, but possibly in the JOIN.
July 15, 2020 at 8:48 pm
for the jobs that run SSIS packages, my approach is to script out the job steps table joined to the jobs table. Something like:
USE [msdb]
GO
SELECT
name, step_name,...
July 15, 2020 at 8:41 pm
I've not done something like this (we don't use SSAS or MDX at our shop), but it sounds like a good use case for CASE:
https://docs.microsoft.com/en-us/sql/mdx/case-statement-mdx?view=sql-server-ver15
July 15, 2020 at 8:24 pm
My thought, based on past experiences, is that you are having memory pressure.
We had an intermittent SSIS package. Most of the time it completed in under an hour (40-ish minutes),...
July 15, 2020 at 7:55 pm
Also Brian, can we think about breaking this string down into various columns such as A[bcd] will be broken down to A,[,b,c,d,].... and then we cross apply A with...
July 15, 2020 at 7:54 pm
When the SSIS package is running on the NEW server, and getting stuck at that 1-5 hour step (and further and pegging CPU and such), how much RAM is free?
My...
July 15, 2020 at 7:22 pm
I think this was answered in another post already, no?
July 15, 2020 at 7:04 pm
String Split won't work here as you have no delimiter on your strings.
Something to add to the TALLY solutions proposed above is that they miss the cases where there is...
July 15, 2020 at 5:57 pm
What application consumes this data? The application that is consuming this data is the application I would use to parse it.
If it is to be consumed in Excel, then I'd...
July 15, 2020 at 5:37 pm
My recommendation is to do this application side still, but if database side is the solution you need, this query should do it:
DECLARE @tmp TABLE
(
[Letters] VARCHAR(25)
);
INSERT INTO...
July 15, 2020 at 5:08 pm
Solution in this case, going back to the UNPIVOT example, basically the same thing, just put more values into the IN statement. In your case replace the FOR [header] IN...
July 15, 2020 at 4:56 pm
Could you provide some DDL for this so we can consume the data and replicate it?
A quick guess here is that you are going to be looking at unpivot or...
July 15, 2020 at 4:36 pm
Viewing 15 posts - 1,666 through 1,680 (of 2,860 total)