Script DB Level Permissions v4.6
Script database and object level permissions for all database users
2022-01-12 (first published: 2021-06-11)
15,383 reads
Script database and object level permissions for all database users
2022-01-12 (first published: 2021-06-11)
15,383 reads
Script database and object level permissions for all database users
2017-07-25 (first published: 2016-02-26)
13,519 reads
2015-08-06 (first published: 2010-11-02)
25,545 reads
Use SSIS to pull data from multiple instances. Combine with powershell to run multiple instances simultaneously.
2015-02-23
8,252 reads
Easily register SQL Servers in your inventory to your CMS for easy multi-server queries.
2014-08-18
5,368 reads
Automate patch installations using the task scheduler and command line hotfix options for SQL.
2011-05-03
4,627 reads
Simple script formatting the date and naming a backup file path for a t-log and restoring those logs.
2010-12-29 (first published: 2010-12-15)
1,425 reads
A way to handle application releases involving multiple scripts and/or multiple databases.
2010-08-23
6,644 reads
By davebem
I was the principal author of this SIOS whitepaper, which describes how to build...
By Brian Kelley
I am able to head back to Seattle for the PASS Summit this year....
By Brian Kelley
I still have a tendency to talk about all the cons of a proposed...
Comments posted to this topic are about the item The Cloud Security Problem
Comments posted to this topic are about the item Virtualizing AWS data by using...
Comments posted to this topic are about the item Timescale Brings PostgreSQL into the...
I have this data in a SQL Server 2022 table:
player yearid team HR Alex Rodriguez 2012 NYY 18 Alex Rodriguez 2013 NYY 7 Alex Rodriguez 2014 NYY NULL Alex Rodriguez 2015 NYY 12 Alex Rodriguez 2016 NYY 9If I run this code, what are the results returned in the hrgrowth column?
SELECT player , yearid , hr , hr - LAG (hr, 1, 0) IGNORE NULLS OVER (ORDER BY yearid) AS hrgrowth FROM dbo.playerstats;See possible answers