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,922 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,922 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,098 reads
The Profiler is a powerful tool available to the dba, but it can also be very useful for system developers....
2010-12-18
780 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,079 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,434 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,756 reads
The script below is a simple and quick way to find out the last backup performed successfully to the databases...
2010-07-14
762 reads
By ChrisJenkins
You could be tolerating limited reporting because there isn’t an off the shelf solution...
A while back I wrote a quick post on setting up key mappings in...
By Steve Jones
In 100 years a lot of what we take to be true now will...
Hello, I inherited a number of tables with like 20-30 column using nvarchar(256) in...
Hi, i'm running vs2022. I'm trying out a c# script that i'd like to...
I upgraded a SQL Server 2019 instance to SQL Server 2025. I wanted to test the fuzzy string search functions. I run this code:
SELECT JARO_WINKLER_DISTANCE('tim', 'tom')
I get this error message:Msg 195, Level 15, State 10, Line 1 'JARO_WINKLER_DISTANCE' is not a recognized built-in function name.What is wrong? See possible answers