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 query execution in SQL Server Management Studio.

SQL SERVER – Fix : Error : Msg 4621, Level 16, State 10 : Permissions at the server scope can only be granted when the current database is master

March 26, 2009
Pinal Dave
SQL Tips and Tricks
SQL Activity Monitor, SQL Error Messages, SQL Login, SQL Scripts

Msg 4621 says permissions at the server scope can only be granted when the current database is master. Switch to master with USE master and grant again.

Read More
SQL SERVER - 2008 - SCOPE_IDENTITY Bug with Multi Processor Parallel Plan and Solution

SQL SERVER – 2008 – SCOPE_IDENTITY Bug with Multi Processor Parallel Plan and Solution

March 24, 2009
Pinal Dave
SQL Tips and Tricks
Database, SQL Error Messages, SQL Identity, SQL Index, SQL Scripts

SCOPE_IDENTITY can return a wrong value when a query uses a parallel plan on a multi processor server. Run it on one processor or, better, use the OUTPUT clause.

Read More
SQL SERVER - 2008 - Activity Monitor is Empty - Fix Activity Monitor for All Users

SQL SERVER – 2008 – Activity Monitor is Empty – Fix Activity Monitor for All Users

March 22, 2009
Pinal Dave
SQL Tips and Tricks
SQL Activity Monitor, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Security

In SQL Server 2008, Activity Monitor is empty for a user without the right permissions. Here is how to fix Activity Monitor for all users.

Read More
SQL SERVER - FIX : ERROR : Msg 5834, Level 16, State 1, Line 1 The affinity mask specified conflicts with the IO affinity mask specified. Use the override option to force this configuration

SQL SERVER – FIX : ERROR : Msg 5834, Level 16, State 1, Line 1 The affinity mask specified conflicts with the IO affinity mask specified. Use the override option to force this configuration

January 31, 2009
Pinal Dave
SQL Performance
SQL Error Messages, SQL Index, SQL Scripts, SQL Stored Procedure

Msg 5834 says the affinity mask conflicts with the IO affinity mask when you change fill factor with sp_configure. The fix is RECONFIGURE WITH OVERRIDE.

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

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

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

Msg 15151 said it cannot drop the login ‘test’, even for a sysadmin. The message was misleading: an open SSMS session for that login was blocking it.

Read More
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
Previous 1 … 98 99 100 101 102 103 104 … 114 Next
  • Books
  • Testimonials
  • Privacy Policy

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