Skip to content

Instantly share code, notes, and snippets.

@khattab88
Last active April 22, 2021 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khattab88/332fc2931e348cb9cfae59542703b204 to your computer and use it in GitHub Desktop.
Save khattab88/332fc2931e348cb9cfae59542703b204 to your computer and use it in GitHub Desktop.
** Maurach's SQL Server 2012 for Developers
- Queries:
(select, distinct, where)
(AND, OR, NOT)
(like, IsNull)
(orderby)
- Joins:
(inner, outer, cross, self)
(union)
(except, intersect)
- Aggregation:
(groupby, having)
(summary => rollup, cube, grouping set, over)
- SubQueries:
(In, All, Some, Exists)
- CTE (Common Table Expressions):
(simple, reverse)
- DML (Data Manipulation):
(select into)
(insert, update, delete)
(merge)
---------------------------------
- Data Types:
(Numeric, String, Date/DateTime)
(CAST, CONVERT)
- Functions:
(String, Numeric, Date)
(Other => CASE, IIF, Choose, COLEASE, IsNull, Grouping)
---------------------------------
- Database Design:
(primary / foreign keys)
(relations => one-to-one, one-to-many, many-to-many)
(Indexes)
(Normalization)
- DDL (Data Definition Language):
(Database, Table, Index, Constraints, Sequences)
(Scripts)
---------------------------------
- Advanced SQL:
(Views)
(Stored Procedures)
(Scripts => variables, conditionals, dynamic sql, errors)
(Triggers)
(Cursors)
---------------------------------
- Transactions:
(concurrency, locking, deadlocks)
---------------------------------
- Security:
(logins, permissions, roles)
---------------------------------
- Working with:
(XML, BloB, GeoSpatial, Json, ...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment