Viewing 15 posts - 1,711 through 1,725 (of 6,679 total)
Not real sure I follow - but it shouldn't be too much of an issue to add a script task with the UserID (defined as a variable and populated in...
July 10, 2020 at 5:06 pm
We are getridding of EXEC msdb.dbo.sp_send_dbmail.. to SMTP send mail task..
Okay - no real reason to do this since it works from SQL Server, but to do this you...
July 10, 2020 at 4:51 pm
A new cardinality estimator was introduced in SQL Server 2014 and could cause some queries to get a less than optimal execution plan. I suspect that is what is happening...
July 9, 2020 at 7:27 pm
Thanks Anthony for your help
If i get you well you are saying i must add a file group add 2 files which will be ndf not mdf and the...
July 9, 2020 at 7:13 pm
That works, but you lose the fail over if that is a concern
July 8, 2020 at 8:27 pm
Log shipping won't get you near-real time data in a read-only database. You have to stop applying log files and switch the database to STANDBY for it to be accessible,...
July 8, 2020 at 7:39 pm
I missed that this database was already included in the other AG. You are fairly stuck here...
If you already have a secondary that is set to read-only, why do you...
July 8, 2020 at 7:22 pm
Since the clustered index is the data - any other indexes should be able to be dropped and recreated with no data loss. The non-clustered indexes will be built from...
July 8, 2020 at 7:15 pm
Are you on Enterprise Edition - or are you using Standard Edition?
Assuming Enterprise Edition, you can add that third machine into the cluster, install a stand-alone SQL Server instance and...
July 8, 2020 at 6:35 pm
One of the indexes is the primary key - but that index may not be the clustered index. If it isn't the clustered index you may be able to rebuild...
July 8, 2020 at 6:24 pm
Sorry that guy had one of my post removed. He is a freelancer and well known on sql central
I'm getting:
July 7, 2020 at 8:52 pm
See if this is an improvement
With excludeRoles
As (
Select lr.legalID
From legalReference ...
July 7, 2020 at 7:39 pm
You also have to be aware of transaction log usage - if you import a large file in a single batch you will need at least that much...
July 6, 2020 at 10:11 pm
@Brian - your solution is not the same as the original query. The original query is joining to the max date for each column1 - not the max date across...
July 6, 2020 at 9:19 pm
That function is going to be a performance killer - no matter what. As it is used - it must be a scalar function and therefore needs to execute for...
July 6, 2020 at 7:53 pm
Viewing 15 posts - 1,711 through 1,725 (of 6,679 total)