Viewing 15 posts - 1,681 through 1,695 (of 2,883 total)
XML parsing is a common one that is difficult to do for most, but for some people, XML parsing is trivial.
Trivial? Yikes.
LOL... for me it definitely is not, but...
July 17, 2020 at 7:29 pm
You could download adventureworks database and just write some complex queries against that?
But it depends on what you consider complex. I have some stored procedures at my workplace that are...
July 17, 2020 at 7:11 pm
Where I work, I have 60+SQL instances with roughly 5 databases per instance. Not an ideal setup with 3 physical servers, but it works for what we need.
We have our ...
July 17, 2020 at 5:04 pm
Just to confirm, if the date was the 15th, would you want it from the 28th/29th/30th/31st (depending on the month) to the 14th?
Basically, are you wanting it from 15 days...
July 17, 2020 at 3:08 pm
ReportServer and ReportServerTempDB are databases used exclusively by SSRS. If you are not using SSRS, you don't need those.
July 17, 2020 at 2:49 pm
To take a different approach, it depends on what you are trying to capture with the audit trail. Do you care about who and when each and every change was...
July 17, 2020 at 2:48 pm
My first step - grab an execution plan. Have a look under the hood at what is happening.
But I don't think those 2 queries are doing the same thing. Having...
July 16, 2020 at 9:56 pm
My preference is any production level server, maintenance is done in a controlled maintenance window outside of business hours where possible.
You are giving yourself a 1 hour window to do...
July 16, 2020 at 8:26 pm
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
Viewing 15 posts - 1,681 through 1,695 (of 2,883 total)