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
A comb separates stray burs from a continuous string of blue beads

Interview Question of the Week #018 – Script to Remove Special Characters – Script to Parse Alpha Numerics

May 3, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts

Remove special characters with a corrected SQL Server loop and a 2025 regex expression, while defining ASCII and collation rules.

Read More
Two apple collections show keeping every apple compared with selecting distinct ones

Interview Question of the Week #017 – Performance Comparison of Union vs Union All

April 26, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Union clause

Compare UNION vs UNION ALL with duplicate examples, compatible types, actual plans, and the extra work required for distinct rows.

Read More
A closed gate blocks access to a bridge that remains in place

Interview Question of the Week #016 – How to Take Database Offline

April 19, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts

Take a database offline with the right waiting policy, compare detach and SINGLE_USER, and verify SQL Server state before and after.

Read More
A working vessel is connected to a new pipe while an older vessel is disconnected

Interview Question of the Week #015 – How to Move TempDB to Different Drive

April 12, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL TempDB

Move tempdb files using sys.master_files and ALTER DATABASE, prepare Windows folders, restart SQL Server, and diagnose a full log first.

Read More
One intact ceramic tile from each matching pair is kept in a tray while its worn duplicate is set aside

Interview Question of the Week #014 – How to DELETE Duplicate Rows

April 5, 2015
Pinal Dave
SQL Interview Questions and Answers

Delete duplicate rows with a ROW_NUMBER CTE, preview the duplicate groups, choose a survivor, and prevent recurrence with uniqueness.

Read More
A hand-cranked pasta roller turns one sheet into repeatable strips

Interview Question of the Week #013 – Stored Procedure and Its Advantages – How to Create Stored Procedure

March 29, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Stored Procedure

Learn how to create stored procedure code with parameters and NOCOUNT, then review security, plan reuse, and parameter-sensitive plans.

Read More
Two archived file canisters beside empty slots in a new cabinet

Interview Question of the Week #012 – Steps to Restore Bak File to Database

March 22, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts

Restore bak file backups safely with header and file inspection, complete Windows paths, conditional access changes, and recovery options.

Read More
Previous 1 … 40 41 42 43 44 45 46 … 58 Next
  • Books
  • Testimonials
  • Privacy Policy

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