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 - 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
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
A cold hearth, retained charcoal pieces in a terracotta bowl, a brass shovel and a brush.

Restart History: Preserve Startup Evidence Before Logs Cycle

May 19, 2009
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Error Messages, SQL Monitoring, SQL Server Services

Restart history records startup evidence before retained logs disappear. Keep each source and timestamp separate, and test repeat collection with synthetic archives.

Read More
Previous 1 … 467 468 469 470 471 472 473 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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