How to retrieve roles from a Database

If you have environment where you restrict access to database objects based on user roles and if you have a lot of databases on different servers in the same domain.  The following script can generate roles from a given database in a format that can be used to create roles on different servers where the […]

2003-05-14

166 reads

How to get Foreign keys

If you ever have been put in a situation where your database has a lot of objects and some of those do not have primary keys, trying to find feels like needle in the haystack.  I have modified the script contributed by Mr.Tandrei and Mr.Rahul sharma.  The following script gives all the tables that do […]

2003-04-17

134 reads

Blogs

Using Azure Data Factory Mapping Data Flows to populate Data Vault

By

(2019-May-24) Data Flow as a data transformation engine has been introduced to the Microsoft Azure...

New Azure “SQL Server settings” blade in the Azure Portal

By

I just noticed today that there is a new blade in the Azure portal...

Mass Backup All Sessions

By

Migrating Extended Event Sessions from one server to another should be a simple task....

Read the latest Blogs

Forums

The Change Failure Rate

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Change Failure Rate

Buffer Pool calculation

By avpco

Hello Colleagues. Could you tell me about how MS SQL Server 2016 SE determines...

SSIS Scale out deployment in a high availability cluster

By KobusV

Good day all, Just wondering if it will be possible to have a scale-out...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers