SQL Antipatterns Review: The Best Book on Database Design Mistakes?
A review of SQL Antipatterns, Volume 1 by Bill Karwin: what the 24 antipatterns are, what the 2022 edition adds, what we like, what could be better, and who should buy it.
A review of SQL Antipatterns, Volume 1 by Bill Karwin: what the 24 antipatterns are, what the 2022 edition adds, what we like, what could be better, and who should buy it.
Why LIKE with a leading % is slow, how to set up a full-text index in SQL Server, and how to search with CONTAINS, FREETEXT and ranking. Plus MySQL MATCH AGAINST and when LIKE is still the right choice.
Connect Laravel to SQL Server step by step: install pdo_sqlsrv and the ODBC driver on Windows/XAMPP or Linux, configure .env, fix the ODBC Driver 18 certificate error, and use SQL Server alongside MySQL.
How to calculate moving averages and rolling sums in SQL Server, MySQL and PostgreSQL with window frames, hide incomplete windows, and get the right answer when some dates are missing.
Call a REST API from Delphi with TRESTClient, TRESTRequest and TRESTResponse, read the JSON with System.JSON, and save it to SQL Server safely. Includes POST with a token, timeouts and error handling.
Full, differential and transaction log backups in SQL Server explained simply: Simple vs Full recovery, why the log file keeps growing, point-in-time restore with STOPAT, COPY_ONLY, and a sensible schedule.
Build a Pareto (80/20) analysis in SQL with window functions: rank customers by revenue, compute the running percentage, find the top 20%, and classify customers and products into ABC classes.
A step-by-step roadmap for moving from SQL into data engineering: advanced SQL, data modelling, Python, ETL/ELT pipelines and dbt, a cloud platform, Spark, streaming, and the portfolio project that gets you hired.
How to add indexes in Laravel migrations: index, unique, composite and foreign key indexes, choosing column order, changing and dropping indexes, and adding an index to a large production table safely.
CROSS APPLY and OUTER APPLY explained with simple examples: top N per row, table-valued functions, STRING_SPLIT, reusable calculations with VALUES, unpivoting, and the MySQL and PostgreSQL equivalent, LATERAL.