SQL Server for Beginners: SELECT, WHERE and ORDER BY Explained with Examples
Learn the three most important SQL Server clauses, SELECT, WHERE and ORDER BY, with a small Employees table, clear results and practice exercises.
6 views0 likes0 commentsLearn the three most important SQL Server clauses, SELECT, WHERE and ORDER BY, with a small Employees table, clear results and practice exercises.
6 views0 likes0 commentsA printable cheat sheet of the T-SQL queries a SQL Server administrator uses every week: backups, blocking, slow queries, indexes, disk space, logins and Agent jobs.
4 views0 likes0 commentsA deadlock kills one of two queries with error 1205. Learn how to reproduce one safely, capture the deadlock graph from system_health, read it, and prevent the most common causes.
4 views0 likes0 commentsCreate scheduled jobs with SQL Server Agent in T-SQL, set up Database Mail and an operator so you are emailed when a job fails, and read job history. Includes an Express edition workaround.
4 views0 likes0 commentsLearn the difference between logins, users and roles, create a safe application account with only the permissions it needs, fix orphaned users and understand login error 18456.
8 views0 likes0 commentsUnderstand how SQL Server indexes work, how to design a covering index, how to read the missing-index and unused-index reports, and when fragmentation is worth fixing.
2 views0 likes0 commentsFind the queries that really cost you time with DMVs and Query Store, read the execution plan, and apply the usual fixes: sargable filters, indexes, statistics and plan control.
3 views0 likes0 commentsFull, differential and log backups explained with copy-paste T-SQL, plus how to verify a backup and restore it to a new database without overwriting anything.
1 view0 likes0 commentsQueries are hanging and nobody knows why. Here is how to see who is blocking whom in SQL Server, find the head blocker and resolve it safely.
2 views0 likes0 commentsPractical tutorials for people who run, build and fix things: operating systems, databases, development, networking and security.