Getting data and log size of all databases
Hi guys.
The procedure bellow get the data and log size of all databases in current instance.
CREATE PROCEDURE dbo.uspDatabaseSize
AS
declare...
2011-12-03
1,906 reads
Hi guys.
The procedure bellow get the data and log size of all databases in current instance.
CREATE PROCEDURE dbo.uspDatabaseSize
AS
declare...
2011-12-03
1,906 reads
Hi people, following a script that deletes all tables in a database. Enjoy.
SET NOCOUNT ON;
DECLARE @Tabela TABLE
( Seq INT,...
2010-12-27
2,084 reads
The Profiler is a powerful tool available to the dba, but it can also be very useful for system developers....
2010-12-18
758 reads
Occasionally I need to see what the date of last restart of SQL Server. The old method isto check the...
2010-12-17
1,068 reads
Sometimes when we need to do some maintenance on a SQL server, you need to verify which users are connected...
2010-12-16
1,418 reads
Some times is necessary retrieve a list of members of the roles of a database. Doing this is simple, using...
2010-08-12
2,716 reads
The script below is a simple and quick way to find out the last backup performed successfully to the databases...
2010-07-14
751 reads
By Steve Jones
It’s been an amazing week here, as well as a long week. I’m tired,...
By Steve Jones
skidding – v. intr. the practice of making offhand comments that sound sarcastic but...
By Brian Kelley
Let’s start with the keynote. The biggest take away was how having to support...
Comments posted to this topic are about the item Step by step guide to...
Comments posted to this topic are about the item Backing up the Database Encryption...
Comments posted to this topic are about the item Technology Fears
In my SQL Server 2022 database, I run this:
USE Sales; GO CREATE DATABASE ENCRYPTION KEY WITH ALGORITHM = AES_256 ENCRYPTION BY SERVER CERTIFICATE MyServerCert; GOThis works, but I want to prepare for the future and potential issues. How do I back up my DEK? See possible answers