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 - Activity Reports - Dormant Sessions

SQL SERVER – Activity Reports – Dormant Sessions

July 21, 2014
Pinal Dave
SQL Tips and Tricks
SQL Reports, SQL Scripts, SQL Server, SQL Server Management Studio

A parent-teacher meeting tells me more than a report card. In the same way, the SSMS activity report on Dormant Sessions shows idle connections on your server.

Read More
Gate latch with one toggle seated and the other lifted

AND Before OR: Operator Precedence in WHERE Clauses

July 20, 2014
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL NULL, SQL Operator

A report showed closed orders even though the filter said open. The reason is how SQL Server groups AND and OR.

Read More
MySQL - How to Format Date in MySQL with DATE_FORMAT()

MySQL – How to Format Date in MySQL with DATE_FORMAT()

July 19, 2014
Pinal Dave
SQL Tips and Tricks
MySQL, SQL DateTime

MySQL uses the DATE_FORMAT function to show a date or datetime value in the format you need. Here are simple, self-explanatory examples for common formats.

Read More
A hand pressing a red-handled dibber board into soil, leaving a neat grid of planting holes

SSMS Code Snippets: Writing Your Own Templates

July 18, 2014
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Management Studio, SQL Shortcut

Build SSMS code snippets with editable literals, register your own snippet folder, and use Template Explorer for repeatable SQL scripts.

Read More
SQL SERVER - Beginning Contained Databases - Notes from the Field #037

SQL SERVER – Beginning Contained Databases – Notes from the Field #037

July 17, 2014
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Scripts

Beginning contained databases: syncing users and logins is a pain with database mirroring. John Sterrett explains how a contained user needs no login.

Read More
Gouache painting of a garden gate with a large key and a porch of three doors, one with a small red key

Login vs User in SQL Server: Who Gets In, Who Can Do What

July 16, 2014
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server Security

Login vs user is a question of authentication and authorization in SQL Server. A login lets you into the instance, and a user gives you rights inside one database. This post builds both on a demo database, shows the errors that appear when one is missing, and explains how they map.

Read More
SQL SERVER - SSMS: Memory Consumption Report

SQL SERVER – SSMS: Memory Consumption Report

July 15, 2014
Pinal Dave
SQL Tips and Tricks
SQL Memory, SQL Reports, SQL Scripts, SQL Server Management Studio

‘My SQL Server eats RAM and never gives it back’ is a common complaint. The SSMS Memory Consumption report shows where that memory goes and why.

Read More
Previous 1 … 421 422 423 424 425 426 427 … 845 Next
  • Books
  • Testimonials
  • Privacy Policy

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