MySQL does not let you loop in ad-hoc SQL. Here is how to write a loop in MySQL with a simple stored procedure that uses LOOP, ITERATE and LEAVE.
SQL – Biggest Concerns in a Data Driven World
The snooping debate made users distrust how their data is used. Here are the biggest concerns for companies taking a data driven approach to business.
Personal Technology – Laptop Screen Blank – No Post – No BIOS – No Boot
A blank laptop screen interrupted a database emergency in 2013. Here is the family story and the power reset that worked on our old removable-battery laptop.
MYSQL – Identifying Current Version of MySQL Server Installation – Part 2
Readers shared more ways to find the current version of MySQL: SELECT VERSION(), SELECT @@Version, the STATUS command and SHOW VARIABLES.
SQL SERVER – Transaction Log Full – Transaction Log Larger than Data File – Notes from the Field #001
Notes from the Field begins with Tim Radney on a common issue: transaction log full, or a log file larger than the data file, filling your drive.
Median on Big Tables: PERCENTILE_CONT vs a Two-Row Seek
Two ways to get a median, one tiny demo, and the traps in NULLs, even counts and empty tables. Then measure on your own server.







