Viewing 15 posts - 286 through 300 (of 6,678 total)
Without knowing a lot more about how the system and that database came to be in that state - the easiest method to clean it up would be to re-add...
March 17, 2023 at 9:20 pm
Ya gotta be careful, though. If you do the index maintenance incorrectly, you could be setting up the index to do massive page splits which will cost you dearly...
March 16, 2023 at 9:19 pm
Even moving everything to a single database probably will not resolve the licensing issue.
If you are exceeding the allowable concurrent connections and you want to create more than the allowable...
March 16, 2023 at 7:24 pm
If your databases stop synchronizing - then you have additional issues with those databases. You need to figure out why those databases have stopped synchronizing and address those issues.
Look into...
March 16, 2023 at 7:14 pm
I will add that rebuilding indexes is not about performance - and should not be considered as a method to improve performance. Index maintenance is about resource usage.
How much wasted...
March 16, 2023 at 6:38 pm
Can you explain further why you want to allow this user to enable/disable system versioning? As far as I am aware - the only reasons to temporarily disable...
March 16, 2023 at 6:04 pm
Can you explain further why you want to allow this user to enable/disable system versioning? As far as I am aware - the only reasons to temporarily disable versioning is...
March 15, 2023 at 8:00 pm
I would add a RANK or DENSE_RANK to your query based on the customer ID and create a table to hold the results. You can then use that ranking column...
March 11, 2023 at 5:16 pm
If you use the command line with SqlPackage.exe - one of the options available is a log file. Instead of importing using SSMS - use the command line with the...
March 8, 2023 at 8:08 pm
Sounds good.
You need to get into a mindset that "If I create a new SQL login, I must run sp_help_revlogin, to script the login for the secondaries", adds an...
March 8, 2023 at 8:02 pm
This can be done using SwePeso's method - without using PARSENAME:
SELECT Total = CONCAT(SUM(t.sec) / 60, ':', SUM(t.sec) % 60)
FROM (VALUES ('23:01'),('00:01'),('05:15'),('00:45'),('00:11')) AS td(Trip_Duration)
CROSS...
March 6, 2023 at 10:59 pm
Unless I am missing something - the problem is this: hdmhdr.dmdstat = 'A'
The right join is also joining to this table - and in a right join it is the...
March 6, 2023 at 9:06 pm
Let me clarify - index maintenance might help if the tables are highly fragmented now, causing additional IO and memory to be utilized. It won't directly help performance because index...
March 5, 2023 at 7:57 am
Michael is correct, We don’t have readable secondary. I don’t think adding more resources to the physical box is easy as VM.
I read through this - and seriously, if...
March 4, 2023 at 5:08 pm
This is one of those questions where the OP says "This is what I want" and it leaves me begging to ask "Yeah... but it that what you really...
March 2, 2023 at 10:10 pm
Viewing 15 posts - 286 through 300 (of 6,678 total)