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
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
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 full spice rack with no room left, a new jar of red paprika standing on the counter below

Dynamic PIVOT: Building Report Columns From the Data

May 17, 2009
Pinal Dave
SQL Tips and Tricks
Dynamic SQL, PIVOT and UNPIVOT, SQL Reports, SQL Server

Build a dynamic PIVOT with ordered STRING_AGG and QUOTENAME, parameterized filters, zero-filled results, and explicit report-width limits.

Read More
A new cast iron stove in an old farmhouse kitchen with a dented old kettle sitting on top of it.

What Changes When You Move to a New Major Version

May 12, 2009
Pinal Dave
SQL Tips and Tricks
Compatibility Level, SQL Deprecated Feature, SQL Migration, SQL Server, SQL Upgrade

A New Major Version of SQL Server changes the engine while database compatibility, query plans, and deprecated features need separate review.

Read More
Previous 1 … 363 364 365 366 367 368 369 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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