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 - Fix : Error : Msg 2714, Level 16, State 6 - There is already an object named '#temp' in the database

SQL SERVER – Fix : Error : Msg 2714, Level 16, State 6 – There is already an object named ‘#temp’ in the database

March 29, 2009
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL TempDB

Msg 2714 says there is already an object named #temp in the database, even after an IF EXISTS check and DROP. A reader asked why, and here is the answer.

Read More
A piano with felt covering the outer keys so only the middle keys can be played, two hands resting on them.

How Many CPUs SQL Server Really Uses

March 28, 2009
Pinal Dave
SQL Performance
MAXDOP, SQL CPU, SQL DMV, SQL Server, Virtualization

CPUs SQL Server really uses depend on edition, guest topology, affinity, and online schedulers; learn to see the instance’s usable capacity.

Read More
Matching red flower pots at tied heights and a gap in one ranking rack.

RANK vs DENSE_RANK: Keep Poll Ties at the Cutoff

March 27, 2009
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Function, SQL Order By

RANK vs DENSE_RANK gives tied vote totals different cutoff behavior. Keep display ordering separate from the tie criterion and rank each poll independently.

Read More
SQLAuthority News - Author Video Interview Published Online - Microsoft MVP Summit 2009

SQLAuthority News – Author Video Interview Published Online – Microsoft MVP Summit 2009

March 27, 2009
Pinal Dave
SQLAuthority News
Database, MVP

The Microsoft MVP Award Blog and South Asian MVP Blog published my video interview, recorded by Abhishek Kant at Microsoft MVP Summit 2009 in Seattle.

Read More
Sql error dialog.

SQL SERVER – FIX : Error: Msg 15123, Level 16 – The configuration option ‘advance option’ does not exist, or it may be an advanced option.

March 26, 2009
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server Configuration

Msg 15123 says the configuration option does not exist or may be an advanced option. Turn on show advanced options with sp_configure first, then set it.

Read More
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
A hardware bench contrasts screws stored apart from hinges with a divided tray holding both together.

user_lookups: Verify the Plan Before Adding Coverage

March 25, 2009
Pinal Dave
SQL Performance
Clustered Index, SQL DMV, SQL Index, SQL Performance

user_lookups helps identify where to investigate missing coverage. Compare complete query results and actual plans before adding included columns. Weigh the read benefit against storage and write costs.

Read More
SQLAuthority News - Ahmedabad SQL Server User Group Meeting Review - March 21, 2009

SQLAuthority News – Ahmedabad SQL Server User Group Meeting Review – March 21, 2009

March 25, 2009
Pinal Dave
SQLAuthority News
SQL Profiler, SQL User Group, SQLAuthority Author Visit

My user group meeting review for Ahmedabad on March 21, 2009: how Profiler works and how to find the most popular and longest running queries.

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 Management Studio Activity Monitor.

SQL SERVER – 2008 – Location of Activity Monitor – Where is SQL Serve Activity Monitor Located

March 23, 2009
Pinal Dave
SQL Performance
SQL Activity Monitor, SQL Utility

Can’t find the location of Activity Monitor in SQL Server 2008? It’s not under Tools. Open it from the Standard toolbar or by right clicking the server node.

Read More
Previous 1 … 496 497 498 499 500 501 502 … 590 Next
  • Books
  • Testimonials
  • Privacy Policy

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