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 - Add Any User to SysAdmin Role - Add Users to System Roles

SQL SERVER – Add Any User to SysAdmin Role – Add Users to System Roles

December 27, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Security

How to add any user to the SysAdmin role in SQL Server, with a short T-SQL script using sp_addsrvrolemember, or the same steps in Management Studio.

Read More
SQL SERVER - Fix : Error : Msg 15151, Level 16, State 1, Line 2 Cannot alter the login 'sa', because it does not exist or you do not have permission

SQL SERVER – Fix : Error : Msg 15151, Level 16, State 1, Line 2 Cannot alter the login ‘sa’, because it does not exist or you do not have permission

December 26, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server Security

Msg 15151, cannot alter the login ‘sa’, comes from missing rights. Only a member of the sysadmin role can change SA, so add the user to that role first.

Read More
A mountain stream disappearing under a rock and flowing out again, a red leaf on it

Connection Resiliency: Surviving Brief Wi-Fi and Network Drops

December 25, 2008
Pinal Dave
SQL Tips and Tricks
Computer Network, SQL Azure, SQL Connection, SQL Server

Configure connection resiliency for brief idle network drops, test ConnectRetryCount and ConnectRetryInterval, and separate retryable failures.

Read More
A hand checking every coat on a row of hooks for the one with a red lining

Leading Wildcard LIKE Searches: Why They Scan and What Helps

December 25, 2008
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Server, SQL String

Diagnose a leading wildcard LIKE scan and compare prefix search, reversed suffix keys, full-text search, and n-gram indexing.

Read More
SQL SERVER - DISABLE and ENABLE user SA

SQL SERVER – DISABLE and ENABLE user SA

December 24, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Security

You cannot modify the permissions of the SA user, but you can disable and enable user SA with ALTER LOGIN. Log in with Windows authentication first.

Read More
Two small wooden storage boxes of different sizes stand together on a quiet workbench.

SQL Server Express Limits: What the 10 GB Cap Really Means

December 23, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Server, SQL Server Installation

Check SQL Server Express limits by version, separate data files from logs, and identify the memory, CPU, and scheduling limits that affect you.

Read More
A wrapped parcel waits at the first of several prepared dispatch bays.

SQL SERVER – Find Next Running Time of Scheduled Job Using T-SQL

December 22, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Agent

A scheduled job has recorded scheduling metadata as well as its actual execution history. I check both before promising a next run.

Read More
Previous 1 … 722 723 724 725 726 727 728 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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