Learn four practical window functions with SQL examples for numbering rows, ranking ties, comparing previous values, and calculating running totals.
Profitable Blog: How a Technical Blog Pays for Itself
A profitable blog starts with readers who trust the writer. This post shows how a technical blog pays for itself through ads, consulting and books. It ends with a short checklist for your own blog.
Trying New SQL Server Features Without Risk
Trying New SQL Server Features safely takes a separate instance, a controlled data copy, and before and after measurements.
What to Look For in a SQL Client Tool
Choose a SQL client tool by testing result handling, execution plans, transactions, and connection identity before trusting it with real work.
What Is a Trigger in SQL Server?
A trigger in SQL Server runs because something else happened, and you never call it. The inserted and deleted tables, why it fires once per statement and not once per row, and when to reach for something else.
What Is a Stored Procedure in SQL Server?
A stored procedure is SQL with a name, a door and a contract. Why granting EXECUTE beats granting table access, what parameters buy you, and the plan reuse story people get half right.
What Is tempdb, and Why Everyone Shares It
tempdb is one scratch database shared by every database on the instance. The three kinds of thing that land in it, why it is rebuilt at every restart, and the reason its file count keeps coming up.







