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
Two stone houses across a narrow lane joined by a covered footbridge, the far door slightly open.

Securing Linked Servers

January 19, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Linked Server, SQL Login, SQL Server Security

Securing linked servers requires explicit login mappings, limited RPC settings, remote privilege checks, and dependency ownership.

Read More
SQL SERVER - Difference Between Index Scan and Index Seek

SQL SERVER – Difference Between Index Scan and Index Seek

January 18, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

What is the difference between Index Scan and Index Seek? I explain how SQL Server uses search predicates to decide which index operation a query gets.

Read More
Two tin-can telephones joined by a taut string across a garden fence, one held by a hand

What TDS Is and Why It Matters to You

January 17, 2009
Pinal Dave
SQL Tips and Tricks
Computer Network, SQL Connection, SQL Server, SQL Server Encryption

What TDS is becomes practical when a SQL Server connection fails: it carries login and query traffic, packet settings, and encryption negotiation.

Read More
A workshop shows a full old tally tray beside a cleared new tray, with ceramic counters preserved in linen.

Index Usage Snapshots: Reject Invalid Counter Deltas

January 16, 2009
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Monitoring

Index usage snapshots require a valid counter window. Keep missing rows and lifecycle gaps visible. The guarded example rejects invalid pairs before calculating any activity delta.

Read More
ALTER FUNCTION UDF.

SQL SERVER – Remove Duplicate Entry from Comma Delimited String – UDF

January 15, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

A simple UDF from reader Ashish Jain that removes duplicate entries from a comma delimited string by turning it into a table and using DISTINCT.

Read More
SQL Server performance query results.

SQL SERVER – Find Number of Rows and Disk Space Reserved – Using sp_spaceused Interesting Observation

January 14, 2009
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Function, SQL Scripts, SQL Server DBCC, SQL Stored Procedure, SQL Utility

sp_spaceused shows the row count of a table and the disk space reserved. Here is why its numbers looked wrong on AdventureWorks and how @updateusage fixed them.

Read More
Set ROWCOUNT Option in SQL Server Management Studio.

SQL SERVER – Find Row Count in Table – Find Largest Table in Database – T-SQL

January 13, 2009
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL System Table, SQL Utility

A quick script using sys.dm_db_partition_stats that lists the row count of every table and shows the largest table in database right at the top.

Read More
Previous 1 … 727 728 729 730 731 732 733 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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