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 - Implementing IF ... THEN in SQL SERVER with CASE Statements

SQL SERVER – Implementing IF … THEN in SQL SERVER with CASE Statements

November 4, 2013
Pinal Dave
SQL Tips and Tricks
SQL Function

Moving IF … ELSE logic from .NET code into a stored procedure? Here is how to rewrite it using CASE statements, with examples for SQL Server 2008 and 2012.

Read More
SQL Server Database Browser.

MYSQL – Detecting Current Version of MySQL Server Installation

November 3, 2013
Pinal Dave
SQL Tips and Tricks
MySQL

How do you find the current version of MySQL Server installed on your machine? Run one simple SHOW VARIABLES command from the command prompt or MySQL Workbench.

Read More
A bare evergreen tree beside an open box of saved ornaments, a red bauble on top.

Rebuilding System Databases With Setup When master Is Lost

November 2, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Server Installation, System Database

Plan rebuilding system databases with Setup when master has no usable backup, then restore logins, jobs, and configuration.

Read More
Allotment beds seen from above, one pumpkin vine with red pumpkins spreading across into the next bed

Measuring Space Used by Tables per Filegroup in T-SQL

October 31, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Data Storage, SQL Server, SQL System Table, Table Partitioning

Measure tables per filegroup from allocation metadata, include LOB and overflow pages, and separate partition placement from growth history.

Read More
Gouache painting of an old pencil sketch of a small building on worn paper beside a clean pale wood model of the same building, with a vermilion pencil resting between them.

Big Data Upgraded: The 2013 Series Rewritten for Today

October 30, 2013
Pinal Dave
SQL Tips and Tricks
Cloud Computing, Data Warehousing, Database, NoSQL

Big Data Upgraded is the reading path for 23 articles, most of them first written in 2013, now rewritten for today’s tools. Most new platforms now build on Spark, Parquet, open table formats and change data capture. Here is the whole set in reading order, with one line on each.

Read More
Gouache painting of a stone water mill with its wheel turning in a steadily flowing stream, and beside it a row of wooden barrels waiting for a cart, one barrel painted vermilion.

Batch vs Stream Processing: When Data Cannot Wait

October 29, 2013
Pinal Dave
SQL Tips and Tricks
Batch, Cloud Computing, Data Warehousing, ETL, Parallel

Batch vs Stream Processing is a choice about how long an answer can wait. This post compares an hourly batch job with a 5-minute stream window on the same six orders, covers the cost of real time and shows how to choose.

Read More
Birds on three telegraph wires at dusk, each wire mostly one kind of bird with a few others mixed in.

Finding the Most Frequent Value per Group in T-SQL

October 28, 2013
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Group By, SQL Scripts, SQL Server

Find the most frequent value in each group, choose a tie policy, and compare categorical modes with averages and numeric percentiles.

Read More
Previous 1 … 304 305 306 307 308 309 310 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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