Tutorials
Programming
Programming tutorials for people who want code that actually runs, not code that only looks right. Pick a language, start at the beginning, and don't skip the basics. They are where most problems come from.
0 likes
Likes for this tutorial.
Run UPDATE and DELETE in a Transaction First
Level: Beginner
Run an UPDATE or DELETE inside a transaction, check the row count and roll back if it is wrong. After this, a missing WHERE no longer costs you the data.
3 min read
0 likes
Likes for this tutorial.
Why = NULL Returns Nothing
Level: Beginner
See why a comparison with NULL returns no rows and fix it with IS NULL, IS DISTINCT FROM or COALESCE. After this, your WHERE clauses stop dropping rows with missing values.
3 min read