Question Is there a way to force all database and log backups run on the server to be encrypted?
If encryption is not specified, the query will be terminated.
Asked2021-09-12byAvi
Answer Not in SQL Server There is no option to force BACKUP DATABASE & BACKUP …
Question I have a table that consumes almost 1.2 TB of space and has lots of historical data which are mostly irrelevant. Since performing bulk DELETE is going to cause a lot of heavy-lifting, I'm trying to use the concept of horizontal partitioning to create …
Question Our server where the Microsoft SQL Server 2016 Web Edition server is installed is running very slow.
We are thinking of increasing the number of cores licensed on it. However, we need to check how many CPU cores the database is using currently. Our …
Question I realize this is likely a simplistic question but my searches only return results for Drive Letters or Database names if I include SQL Server. Please feel free to point me to existing articles or answers, and my apologies in advance :)
Question I’m breaking some new ground and trying to get into Azure Data Studio. I’m having a problem with intellisense that seems to be a bug with Azure Data Studio but I’m not sure.
I have issues with basic queries. Foreign keys, select statements and insert …
Question I have an "Basic" pricing tier Azure SQL database with a table of 7 columns, an ID column of int that is the clustered index and primary key, one datetime2(0) column, 3 varchar(100) columns and 2 varchar(MAX) columns, all nullable.
Question Diving on dba.stackexchange.com I found a nice answer that teach me how to open a .bacpac file with File Explorer.
I gave it a try with the database AdventureWorks2008R2 and all I did was:
Save the database as .bacpac file Rename the file extension …
Question We have a job which imports data daily from a remote SQL Server every night, I'll call it Import-Job. Most of the time this job runs through in about 15 minutes and everything is fine but due to a rather unstable VPN connection sometimes the job …
Question I have seen on this site how to get the the third Friday of the month:
select quote_date FROM table where datename(weekday, quote_date) = 'Friday' and datepart(day, quote_date)>=15 and datepart(day, quote_date)<=21; How would I get the first Monday …
Question I have 2 node Windows Failover Cluster with Quorum disk. SQL agent is NOT a resource of the cluster.
I needed to enable service broker on the server; for that I need to set SQL Agent offline, run tsql statement then simply put it back online.