Viewing 15 posts - 1,216 through 1,230 (of 2,904 total)
Another thought (as I ran into a similar issue when working with Great Pains... I mean Great Plains) - try setting your MAXDOP on that query to 1. We had...
May 5, 2021 at 5:01 pm
How are you mapping "REG1" to "SICK1" and REG2 to SICK2? You would need something to JOIN on.
Using the data you have given, I see no way to map those...
May 5, 2021 at 4:59 pm
My opinion on the fix - try checking off the other box in the Exchange configuration (use windows authentication) UNLESS you are not using windows authentication for Exchange authentication. If...
May 5, 2021 at 2:39 pm
Might be a dumb question, but wouldn't the answer marked as "correct" give you a result different from the expected result?
I say that it might be a dumb question because...
May 5, 2021 at 2:08 pm
Just to confirm, your query is in the logical format of:
DECLARE @dynSQL NVARCHAR(MAX)
SELECT @dynSQL = 'SELECT 1 AS [result]'
EXEC (@dynSQL)
And you are wanting to insert the results...
May 4, 2021 at 9:42 pm
I think an article that would be helpful is this one:
Basically, you are wanting your LIKE syntax to determine if it is numeric OR numeric with a - in it. ...
May 4, 2021 at 9:39 pm
Enabling SSL would encrypt the connection between the source and destination. One of the main benefits of SSL is that MITM (man in the middle) attacks don't work on them...
May 4, 2021 at 5:19 pm
I would first determine what you need to do with the data and if this is a long term solution (ie you are going to need to do this import...
May 4, 2021 at 4:15 pm
I have not run into this, but I have a few thoughts. First, are you using SSMS 2012 or a newer version? I know with some things (SSIS comes to...
May 4, 2021 at 3:55 pm
You make some good points Scott. I think my approach had been that NOLOCK, like CURSORS, should be avoided except where absolutely necessary. It was what I had read in...
May 3, 2021 at 4:44 pm
Scott - I agree that NOLOCK has its purposes, as do all query hints. Otherwise they wouldn't be in there to begin with. I was just trying to over-emphasize that...
April 30, 2021 at 6:10 pm
Do you have any database monitoring tools (such as RedGate SQL Monitor)? If so, put the alerts in there.
If that isn't an option, I think you are going to need...
April 30, 2021 at 3:50 pm
To add to what pietlinden said, I think that a DISTINCT and a SUM are going to be your friend in this query.
This is also just my preference, but I...
April 30, 2021 at 3:41 pm
As a random thought, IF your variables are coming from a 100% safe place OR you restrict the stored procedure so that only DBA's can run it, what if you...
April 29, 2021 at 2:22 pm
My opinion - each "feature" of SQL that you enable requires knowledge and skills on how to work with it. For example, if you turn on memory optimized tables, do...
April 29, 2021 at 2:09 pm
Viewing 15 posts - 1,216 through 1,230 (of 2,904 total)