Viewing 10 posts - 1 through 10 (of 10 total)
"Using SQL Server Management Stupid"?!? :w00t:
Nice post, I'll use this feature to update tools like Adam Machanic sp_WhoIsActive, Ola Hallengren's Maintenance Solution and Brent Ozar's First Responder Kit.
Thanks!
September 28, 2017 at 1:56 am
Nice job, Theo, it seems a timesaving activity, so I'm trying it out on a development machine.
For the moment I'd only suggest to modify the CreateServerInfoDbAndTables.sql file, inserting...
July 3, 2017 at 2:05 am
Very nice post!
Just a consideration: there's no need to use "sudo" when you are connected as root. If logged as a non-root user, though, the redirections like
sudo curl
December 27, 2016 at 9:21 am
Nice script!
I just added another option to the VersionName CASE statement to make the script aware of SQL Server 2016:
when convert(varchar(100),SERVERPROPERTY(N'ProductVersion')) like '13.0%' then 'SQL Server 2016'
and removed a duplicate...
February 8, 2016 at 4:03 am
Very nice script, thank you!
I only added a new column name, just to be aware of the schema (I make a heavy use of the schema separation for security purposes)
SELECT
...
October 12, 2015 at 1:44 am
Thanks for pointing out, Aleksey, and thanks for the whole idea of getting the dependencies right from the DB metadata.
June 26, 2015 at 12:50 am
Thanks for the tip, Aleksey.
As suggested above, I took a look at sys.dm_sql_referencing_entities and I got to this:
SELECT
SCHEMA_NAME(T.schema_id) + '.' + T.name AS full_table_name,
RE.referencing_schema_name + '.' + RE.referencing_entity_name AS full_proc_name
FROM...
June 25, 2015 at 2:04 am
I happen to have tables with the same name in different schemas (mainly staging.<tablename> and dw.<tablename>), so I tweaked the query a little to display (and use) full table names.
WITH...
June 24, 2015 at 1:30 am
It seems the links (from the daily newsletter and from the site itself) do not work.
January 20, 2014 at 12:53 am
Order #123 ships with N deliveries #ABC on Dec. 2, #DEF on Dec. 3, ..., #XYZ on Dec. 5.
The table Orders contains a record with
{
orderid: #123,
...
}
and...
December 5, 2013 at 5:58 am
Viewing 10 posts - 1 through 10 (of 10 total)