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
Tongs select individual fruit while a shovel would scoop everything

How to STOP the Usage of SELECT * For Views? – Interview Question of the Week #193

September 30, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Error Messages, SQL Scripts, SQL Server, SQL View

How do you stop people from using SELECT * in views? A slow query in a Health Check came from SELECT * over a wide view, so here is one way to prevent it.

Read More
Two matching brass clips hold a ribbon safely inside a wooden frame

How to Escape a Single Quote in SQL Server? – Interview Question of the Week #192

September 23, 2018
Pinal Dave
SQL Interview Questions and Answers
Quotes, SQL Scripts, SQL Server

How do you escape a single quote in SQL Server? A college student asked me at a Bangalore user group, a few people laughed, and here is the simple answer.

Read More
A wooden flower press compresses flowers between its boards

Where is the Default Settings for Backup Compression? – Interview Question of the Week #191

September 16, 2018
Pinal Dave
SQL Interview Questions and Answers
Compression, SQL Backup and Restore, SQL Scripts, SQL Server, SQL Server Configuration

Where are the default settings for backup compression? The Back Up dialog shows three options. Here is where the server default lives and how to set it.

Read More
Two empty bowls receive nothing from a closed wooden gate and a plugged pottery jug

Which is Optimal – TOP 0 OR WHERE 1 = 2? – Interview Question of the Week #190

September 9, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server

Which is optimal, TOP 0 or WHERE 1 = 2? Many interview answers get this wrong, but they are both the same, and STATISTICS IO shows why.

Read More
Two different sealed jars travel together in a wooden crate between stone shelves

How to Move SQL Server MDF and LDF Files? – Interview Question of the Week #189

September 2, 2018
Pinal Dave
SQL Interview Questions and Answers
File format, SQL Scripts, SQL Server

How do you move SQL Server MDF and LDF files? Detach and attach is the old way, so here is the step-by-step method I use for my clients today.

Read More
A magnifying glass highlights a crack in one ceramic cup among intact cups

What Part of the SQLDump Suggest Database Corruption? – Interview Question of the Week #188

August 26, 2018
Pinal Dave
SQL Interview Questions and Answers
Database Corruption, SQL Error Messages, SQL Server, SQL Server DBCC, Transaction Log

What part of the SQLDump suggest database corruption? A reader asked, and I show the DbccResults tag in the SQLDump text file that confirms it.

Read More
One garden bed filled with individual grass plugs beside another filled with rolled turf

Which is Faster – INSERT INTO SELECT or SELECT INTO? – Interview Question of the Week #187

August 19, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Performance, SQL Scripts, SQL Server

Which is faster, INSERT INTO SELECT or SELECT INTO? A client moving large data between tables asked me, and here is what we found when we tested both.

Read More
Previous 1 … 14 15 16 17 18 19 20 … 58 Next
  • Books
  • Testimonials
  • Privacy Policy

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