2014-11-19 (first published: 2014-10-29)
1,137 reads
2014-11-19 (first published: 2014-10-29)
1,137 reads
This script will upload the latest backup files to an AWS S3 bucket
2014-11-14 (first published: 2014-09-14)
1,760 reads
List user connections and possibly any linked server connections older than 1 hour
2014-11-13 (first published: 2014-10-22)
1,697 reads
2014-11-11 (first published: 2014-07-25)
2,657 reads
2014-11-10 (first published: 2014-10-01)
1,357 reads
2014-11-06 (first published: 2014-09-02)
2,483 reads
2014-11-04 (first published: 2014-10-06)
1,373 reads
2014-10-29
1,184 reads
I am new to writing scripts so dont blast be to bad. This is a script to make all logins of a sql server readonly users to all user databases. Mainly after a restore from a different server. (for reporting maybe) Any methods to optimize this script are fine.
2014-10-27 (first published: 2004-04-14)
220 reads
This script has two essential Steps after restoring MSDB
2014-10-27 (first published: 2010-09-20)
2,337 reads
If you work with data pipelines, SQL, notebooks, or machine learning models, a Mac...
By ChrisJenkins
Have you been thinking about migrating your reporting to Microsoft Fabric or Snowflake but...
The Joyful Craftsmen has become the new owner of Revolt BI. The merger creates...
Comments posted to this topic are about the item SQL Art, Part 4: Happy...
Comments posted to this topic are about the item SQL Server Enum Implementation: A...
Comments posted to this topic are about the item BIT_COUNT I
In SQL Server 2025, I have a table (dbo.UserPermission) that contains this data:
UserID UserPermissions 15 23 37What is returned when I run this code:
select bit_count(UserPermissions) as PermissionCount from dbo.UserPermission where UserID = 3;See possible answers