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
SELECT One by Two - Interview Question Extended - Part II

SELECT One by Two – Interview Question Extended – Part II

April 30, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Operator, SQL Scripts, SQL Server

After my SELECT One by Two puzzle, I played with a small extension: three queries mixing 1. and 1/2. Can you guess what each one returns and why?

Read More
Vertical and Horizontal Scaling Diagram.

Understanding Database Scalability – Vertical and Horizontal

April 29, 2016
Pinal Dave
SQL Tips and Tricks
Database, SQL Server

One server with 64 cores or two with 32 cores? A customer asked me to help decide. Here is a simple look at Database Scalability, vertical and horizontal.

Read More
SQL SERVER - Computed Column and Conditions with Case Statement

SQL SERVER – Computed Column and Conditions with Case Statement

April 27, 2016
Pinal Dave
SQL Tips and Tricks
Computed Column, SQL Scripts, SQL Server

How to write conditions with CASE statement in a computed column, using a simple AdventureWorks script you can adapt for any complicated logic.

Read More
Table type descriptor window.

SQL SERVER – Identify Table Where Clustered Index is Not a Primary Key – DMV

April 26, 2016
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Index, SQL Scripts, SQL Server

Let us first see script which will return us tablename with schema where clustered index is not a primary key.

Read More
SQL SERVER - What is WRK file in Log Shipping?

SQL SERVER – What is WRK file in Log Shipping?

April 25, 2016
Pinal Dave
SQL Tips and Tricks
Log Shipping, SQL Server

Even if you have used log shipping for years, you may never have noticed the WRK file in log shipping. Here is what I learned about it.

Read More
Individual green pears are sorted before filled crates are compared

What is Difference Between HAVING and WHERE – Interview Question of the Week #068

April 24, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server

Clients sometimes interview me, and my answers from experience do not always match the textbook. Last week’s Interview Question: HAVING versus WHERE.

Read More
PowerShell Script - Backup Every Database In SQL Server

PowerShell Script – Backup Every Database In SQL Server

April 23, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Backup and Restore, SQL Scripts, SQL Server

A client wanted to automate backups with a script instead of a GUI. Here is the PowerShell and SMO script I have used for years to backup every database.

Read More
Previous 1 … 220 221 222 223 224 225 226 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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