Viewing 15 posts - 31 through 45 (of 7,190 total)
The "Agent XPs disabled" is usually a symptom rather than a cause - it's what you see when SQL Server Agent isn't running. The SQL Agent Error log is the...
June 30, 2020 at 8:11 am
If the foreign key constraint is stopping you from dropping the table, you'll need to drop the constraint before you start and re-create it afterwards.
John
June 23, 2020 at 8:59 am
Changing the option only applies for new rows. The rows that were in the table before you changed the option will stay where they were. Could that be what's happening...
June 22, 2020 at 1:46 pm
Richard
What indexes do you have on that table? Do any of them have a max column as part of the key?
John
June 22, 2020 at 1:28 pm
Liam
Without seeing your table and the data in it, it's difficult to advise. If open cases have a null completion date, then just do WHERE CaseCompleted IS NULL.
John
June 19, 2020 at 1:15 pm
How are we going to know where to put the spaces? Unless you have a full databases of street names for the all the areas you cover, I don't think...
June 17, 2020 at 3:53 pm
xml is the best data type, so that you can easily shred the deadlock graphs to make them understandable. By the way, I recommend you capture deadlocks more often...
June 12, 2020 at 8:20 am
June 11, 2020 at 10:30 am
Who'd have thought you'd get deadlocks with Entity Framework?!
It's documented here. You want to set deadlock priority for HIGH for number 2 if you don't want it to be...
June 8, 2020 at 4:01 pm
Are the two servers part of the same WSFC (Windows Server failover cluster)? I think that's a pre-requisite for availability groups. What exactly are you trying to do when you...
June 8, 2020 at 3:56 pm
Yes, it includes all operations done in the database. There may be some operations done to the database (such as ALTER DATABASE statements, which are run at server level) that aren't included,...
June 8, 2020 at 8:03 am
By "physical", I take it you;'re referring to DDL changes as opposed to DML? The answer is yes - DDL and DML changes all go through the transaction log and can...
June 5, 2020 at 3:12 pm
CAST the whole thing as decimal(10,2). That'll give 0.67; if you really need 0.66 then CAST to varchar to chop the end off, and CAST back to decimal. Alternatively, you...
June 2, 2020 at 3:57 pm
I imagine you want your WHERE clause to be something like this:
WHERE SDate > '20190101'
AND EDate > '20190101'
May 29, 2020 at 11:46 am
Viewing 15 posts - 31 through 45 (of 7,190 total)