Viewing 15 posts - 1,156 through 1,170 (of 2,356 total)
If this is a service account, why is it getting locked?
If users are fat-fingering the passwords, then I suspect that these accounts are being used improperly. Are you sharing the...
April 29, 2019 at 4:13 pm
Replicate data for Reporting needs(not the entire database couple of tables from different databases). Secondary Sync node is for offloading the maintenance.
Here are a couple things.
Assuming you are going...
April 25, 2019 at 3:13 pm
For what reason are you installing replication on top of an Availability Group?
If you can provide us with the goals of what you are trying to accomplish, we can probably...
April 24, 2019 at 7:19 pm
SELECT *
FROM TableA as A
INNER JOIN TableB as B ON A.SKU = B.SKU
WHERE A.Price <> B.Price
April 23, 2019 at 4:41 pm
Does DATEDIFF not work for you? select *, DATEDIFF(DAY, StartDate, EndDate) from #T;
Actually, it may not.
If start date is at midnight, such as '2019-04-14 00:00', it would not count...
April 16, 2019 at 3:20 pm
Finally, if you reestart the instance, all the execution plans will be created an the stats will be updated.
Statistics are not updated when you re-start an instance.
And, re-starting...
April 15, 2019 at 5:20 pm
That may not be enough. You should try to update statistics manually and then see what how that affects your query. The symptoms you describe are a classic example of...
April 15, 2019 at 4:44 pm
Problem is that the person doing this doesn't care and doesn't test. He thinks he knows it all and doesn't listen to my recommendations when I can demonstrate that...
April 11, 2019 at 4:25 pm
This is the default setting in SQL Server. When you concat a null, it will return null.
The behavior can be changed, however this setting is deprecated. Like @Taps suggested, the...
April 10, 2019 at 2:01 pm
I doubt if you need a loop or a union all.
Use Jeff's splitter, and either join to the function or use EXISTS.
April 9, 2019 at 8:03 pm
You are only providing us part of the information, and your requirements have changed somewhat since your original post.
Again, I am making a guess here because I cannot see what...
April 9, 2019 at 2:26 pm
If it ran for 15-20 seconds before, did it produce the correct results?
The original code you posted will not run. The syntax is not correct. Can you post the code...
April 8, 2019 at 2:17 pm
Your date calculation may not produce the correct results.
Is the case of this code correct? Does it match the database? I'm guessing that your database is case-insensitive, but it's infinitely...
April 5, 2019 at 1:17 pm
There are more things wrong with this query than just this part.
For starters, this join syntax, while it works, is not really preferred.
Do you know the syntax for...
April 4, 2019 at 9:20 pm
Correct, that will not work. It appears that you need an EXISTS clause in the where clause. Without seeing the query and tables, the syntax is as follows:
SELECT
...
April 4, 2019 at 8:56 pm
Viewing 15 posts - 1,156 through 1,170 (of 2,356 total)