Question I am having trouble getting a trigger to work. What it needs to do is to prevent any customer with last name Glass from being inserted into the database. This is what I have:
CREATE TRIGGER no_last_name_glass_trg ON customer AFTER INSERT,UPDATE AS …
Question This question was attempted twice on experts-exchange with no real answer.
I know that I should not shrink the log file - that is not the question.
If you feel like answering that one should not do it- that has been confirmed many times yes and it is …
Question I'm creating a query that has a column of dates stored as a VARCHAR in the format DD-MMM-YYYY.
Could you tell me how I can convert this into date format please?
I don't want to alter the original table in any way, as it's not mine to tinker!
Question One of our SQL Server 2014 database transaction logs is growing very fast and I cannot find the root cause for this.
Database in Simple recovery mode. During full backup the log file grows to its limits (800GB) and backup fails.
Question We have the ApplicationIntent=ReadOnly properly routing our users to the Secondary ReadOnly replica. Is there a way to make this the default behavior?
Apparently the default behavior seems to be ReadWrite, and if you don't specify an …
In this post, I explain Azure SQL Database DTUs (Database Transaction Units) and the differences you might see between the documentation and practical usage.
Earlier this month, I got an email with the subject line “Congratulations 2017 Microsoft MVP!” I immediately commenced doing a Snoopy happy dance (my dog, Callie, picked up on the excitement and joined in). If you aren’t familiar with the MVP Program, you …
Question In my environment, I have SQL 2014 with Always On Availability Group for databases in asynchronous with manual fail over.
We have 1 primary and 2 secondary replicas--secondary1 and sec2.
I have to do failover from primary to secondary1. I know some …