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 - INNER JOIN Returning More Records than Exists in Table

SQL SERVER – INNER JOIN Returning More Records than Exists in Table

February 9, 2012
Pinal Dave
SQL Puzzle
SQL Joins, SQL Scripts

Can an INNER JOIN returning more records than exist in a table be right? Jeff thought it was a bug. Our chat shows why it is possible and natural.

Read More
A black and white clock with '60x60' in the center.

SQL SERVER – Convert Subquery to CTE – SQL in Sixty Seconds #001 – Video

February 8, 2012
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts

The first SQL in Sixty Seconds video shows how to convert subquery to CTE in about a minute. Short, easy tips from my co-authors and me.

Read More
SQL SERVER - ERROR: FIX - Database diagram support objects cannot be installed

SQL SERVER – ERROR: FIX – Database diagram support objects cannot be installed

February 6, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

Database diagram support objects cannot be installed because this database does not have a valid owner. Here is the quick fix I used on a friend’s database.

Read More
SQL SERVER - Finding Count of Logical CPU using T-SQL Script - Identify Virtual Processors

SQL SERVER – Finding Count of Logical CPU using T-SQL Script – Identify Virtual Processors

February 4, 2012
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server

A friend needed to count Virtual Processors available to SQL Server 2000. Scripts for 2000 with xp_msver, and for 2005 to 2012 with sys.dm_os_sys_info.

Read More
A butter curler reaches a butter block through one open section of a covered dish

Application Roles: Permissions That Follow the App, Not the User

January 16, 2012
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

Application roles sound like a lock only your app can open. This demo shows what the switch really does and why the password is the whole key.

Read More
A tightened rubber expansion plug beside a slender loose spare

Capturing Autogrowth Events With database_file_size_change

January 5, 2012
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

A data file grew over the weekend and nobody owns up. This small demo shows how one extended event tells autogrowth from a manual resize.

Read More
SQL SERVER - A Simple Puzzle and Simple Solution of Datatype and Computed Column

SQL SERVER – A Simple Puzzle and Simple Solution of Datatype and Computed Column

December 24, 2011
Pinal Dave
SQL Puzzle
SQL Scripts

An interview riddle: create two columns but give a datatype only once, and copy data without UPDATE. A computed column solves it simply.

Read More
Previous 1 … 211 212 213 214 215 216 217 … 366 Next
  • Books
  • Testimonials
  • Privacy Policy

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