Viewing 15 posts - 106 through 120 (of 49,571 total)
CTE or subquery only, or use the expression instead of the alias
Easiest, tbh, would be
CASE datepart(month,DATEOFBIRTH)
WHEN 1 THEN 'Yes'
WHEN 2 THEN 'No'
ELSE...
August 2, 2018 at 7:17 am
Don't shrink. The free space will be used for future inserts, future new tables, etc.
Only time I'd shrink is if more than half of the DB is empty...
August 2, 2018 at 6:44 am
Mike Scalise - Wednesday, August 1, 2018 6:57 PM--or if there's a way to have my cake and eat it too.
Backup WITH...
August 2, 2018 at 2:44 am
My thoughts are as I posted earlier.
August 1, 2018 at 2:56 pm
CheckDB before backup. No point in taking the backup if the DB is damaged or hardware is failing
August 1, 2018 at 1:57 pm
Drew,
Thank you for the information. I didn't know that there was a precedence...
August 1, 2018 at 6:07 am
Probably related to the new cardinality estimator.
Identify the queries that have degraded in performance, tune them or add the hint to force the legacy CE.
August 1, 2018 at 5:50 am
As Paul said, don't ever configure 1 file for 1 core by default. Read that blog post, it's still pretty much what's recommended.
August 1, 2018 at 5:31 am
If it's a demo environment, can you get a copy of the DB from elsewhere? Or recreate it from source?
You can repair, but the problem is that it doesn't...
July 31, 2018 at 3:53 pm
Corruption is (generally) the IO subsystem mangling the data file.
It's not going to then go and write a structurally correct log record that describes that corruption that can then...
July 31, 2018 at 2:30 pm
July 31, 2018 at 2:19 pm
Please don't post multiple threads for the same problem.
No replies here please. replies to https://www.sqlservercentral.com/Forums/1979641/SQL-Server-detected-a-logical-consistencybased-IO-error
July 31, 2018 at 1:53 pm
Got a clean backup? (backup before the corruption occurred)?
July 31, 2018 at 1:52 pm
Is the database with an ID of 9 (according to sys.databases) named SL_AppDemo?
July 31, 2018 at 1:25 pm
Thank you. I've taken into account all of the advice. Would you mind taking...
July 31, 2018 at 1:21 pm
Viewing 15 posts - 106 through 120 (of 49,571 total)