This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL SERVER – Create Login with SID – Way to Synchronize Logins on Secondary Server

SQL SERVER – Create Login with SID – Way to Synchronize Logins on Secondary Server

April 18, 2015
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

Create login with SID to keep SQL logins in sync on a secondary server, so users connect after log shipping, AlwaysOn or mirroring failover.

Read More
A whiteboard with three blank sticky notes in a row and a marker resting on the ledge.

SQL SERVER – 3 Common Mistakes of Agile Development – Notes from the Field #074

April 2, 2015
Pinal Dave
SQL Tips and Tricks
Best Practices, Notes from the Field, SQL Server Security

Agile builds software in small, time boxed steps. In Notes from the Field #074, Stuart Ainsworth shares stories about 3 common mistakes of Agile Development.

Read More
Table 3.

SQL SERVER – Adding a Master Data Services to your Enterprise – Notes from the Field #072

March 19, 2015
Pinal Dave
SQL Tips and Tricks
BIML, Notes from the Field, SQL Server Security

Reeves Smith explains why you should add Master Data Services to your enterprise and why data governance is often overlooked in data warehouse projects.

Read More
SQL SERVER - Marking Filegroup as ReadOnly with SQL Server

SQL SERVER – Marking Filegroup as ReadOnly with SQL Server

March 17, 2015
Pinal Dave
SQL Tips and Tricks
SQL Server Security

Readers asked how to mark a filegroup as ReadOnly. Here is a T-SQL script that creates a test database, adds a filegroup and marks it ReadOnly.

Read More
Registry Editor.

SQL SERVER – SCRIPT – SQL Listening on Dynamic Port?

March 14, 2015
Pinal Dave
SQL Tips and Tricks
SQL Server Security

How do you know if SQL Server is listening on a fixed or dynamic port? Here is a script that reads the TcpDynamicPorts registry value for your instance.

Read More
Gouache painting: one brass key hanging on a post beside a long row of identical wooden garden gates in a stone wall, every gate ajar, a small vermilion ribbon tied to the key

Add a User Across Databases: A Tested Script With Cleanup

March 9, 2015
Pinal Dave
SQL Tips and Tricks
Dynamic SQL, SQL Login, SQL Scripts, SQL Server Security

To add a user across databases you need one login and, in every chosen database, a user and a role. This post gives a tested script that does it, checks it and removes it again on SQL Server 2025. It also answers the model database question and shows the server-level shortcut.

Read More
Gouache painting: two armchairs facing each other by a tall window, a small round table between them holding a ring of old keys and a closed padlock; one key tag is vermilion

SQL SERVER – Security Conversations and Notes with a DBA

March 3, 2015
Pinal Dave
SQL Tips and Tricks
SQL Server Security

At a Pluralsight booth, a DBA from the banking world asked me many SQL Server security questions. Here are my notes from those security conversations.

Read More
Previous 1 … 23 24 25 26 27 28 29 … 56 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com