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
Gouache painting of a glass jar full of cream, slate blue and sage marbles on a wooden table, with a small wooden scoop and one loose marble in front

APPROX_COUNT_DISTINCT in SQL Server: Saves Memory, Not Time

May 29, 2009
Pinal Dave
SQL Performance
SQL Function, SQL Memory, SQL Performance, SQL Scripts

APPROX_COUNT_DISTINCT counts distinct values with almost no memory. Tested on 5 million rows, it was within 2.2 percent of the exact count and needed no memory grant, while COUNT(DISTINCT) asked for 436 MB. It was not faster.

Read More
SQL SERVER - Fix : Error : SQLDUMPER library failed initialization. Your installation is either corrupt or has been tampered with. Please uninstall then re-run setup to correct to correct this problem. in a modal dialog with the title SQL Writer

SQL SERVER – Fix : Error : SQLDUMPER library failed initialization. Your installation is either corrupt or has been tampered with. Please uninstall then re-run setup to correct to correct this problem. in a modal dialog with the title SQL Writer

May 28, 2009
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

SQLDUMPER library failed initialization in a SQL Writer dialog does not mean you must reinstall SQL Server. Remove SQL Server VSS Writer and reboot.

Read More
SQL SERVER - Interesting Observation of Logon Trigger On All Servers

SQL SERVER – Interesting Observation of Logon Trigger On All Servers

May 27, 2009
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Scripts, SQL Server, SQL Trigger

I created a Logon Trigger to audit every successful login for a client, and one login was recorded several times on different threads. The script and what I saw.

Read More
SQL SERVER - Find Hostname and Current Logged In User Name

SQL SERVER – Find Hostname and Current Logged In User Name

May 26, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL Server Security

Connected to many servers in SSMS? HOST_NAME() and SUSER_NAME() show the hostname and current logged in user for any query window.

Read More
A hand winding a glass-lidded music box, its brass pinned cylinder and steel comb visible inside

Reading System Procedures With OBJECT_DEFINITION

May 25, 2009
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Stored Procedure, SQL System Table, System Object

Use OBJECT_DEFINITION and sys.system_sql_modules to read visible SQL Server system procedure text and learn how built-in tools work.

Read More
SQL SERVER - Introduction to Business Intelligence - Important Terms and Definitions

SQL SERVER – Introduction to Business Intelligence – Important Terms and Definitions – 2

May 24, 2009
Pinal Dave
SQL Tips and Tricks
Business Intelligence, Database

Important terms and definitions in business intelligence, explained in plain words and grouped by how data moves from source systems to reports.

Read More
SQLAuthority News - SQL Server Energy Event with Rushabh Mehta - May 20, 2009

SQLAuthority News – SQL Server Energy Event with Rushabh Mehta – May 20, 2009

May 23, 2009
Pinal Dave
SQLAuthority News
DigiCorp, MVP, SQL User Group, SQLAuthority Author Visit

The SQL Server Energy Event on May 20, 2009 in Ahmedabad was a hit, with BI expert Rushabh Mehta of SolidQ as the star speaker for SQL fans in Gujarat.

Read More
A wrapped parcel halfway through a brass letter slot in a panelled wooden door.

SQLAuthority News – Download – SQL Server 2008 Developer Training Kit

May 22, 2009
Pinal Dave
SQLAuthority News
Database, DBA, SQL Download, SQL Server, SQL Training, SQL Utility

Download the SQL Server 2008 Developer Training Kit by Microsoft to learn how to build web applications with the new data types in SQL Server 2008.

Read More
SQL Server Management Studio - Object Explorer.

SQL SERVER – FIX : ERROR : (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) (Microsoft SQL Server, Error: )

May 21, 2009
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server Management Studio

Named Pipes Provider error 40, could not open a connection to SQL Server, hit me after I rebuilt my home network. Here are the common errors and the fix.

Read More
A neatly arranged small set of plain hand tools resting in an open canvas tool roll on wood.

The Scripts Worth Having on Every Server You Touch

May 20, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Keep focused DBA scripts for active requests, blocking, table size, index usage, backups, and failed jobs, with clear limits on each result.

Read More
Previous 1 … 492 493 494 495 496 497 498 … 593 Next
  • Books
  • Testimonials
  • Privacy Policy

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