Spatial, Geography and Geometry, oh my! – Part 2: Spatial Data (continued)
Last week, we started the Spatial Analysis series with an overview of the two-dimensional aspects of geometry. Today, we’ll look into coordinate systems, which include both two- and three-dimensional mapping.
Read more…
Spatial, Geography, and Geometry. Oh my! – Geospatial Data Part 1
Geography and Geometry. Gives me flashbacks to high school. Though those would lead to interesting stories, today we’re here to discuss Spatial within SQL Server. There are a lot of different uses for spatial, but it all boils down to the ability to represent SQL Server data on a map, either 3D or 2D. Shall we begin? Read more…
Triggers – Save yourself the extra coding and time with automation
Triggers are an often overlooked feature of SQL Server that can automate a LOT of tasks, such as auto-update an activity flag, or auto-insert new rows based on a new row in a different table. Instead of being required to code 100 lines of code to add a new row to a table and update all dependent tables, a trigger can be set to execute on an Update, Insert, or Delete (DML Trigger), Create, Alter, Drop, Grant, Deny, Revoke (DDL Trigger), or even upon login (Login Trigger). Today, we’ll cover the three different types and how they can be used to automate your database tasks. Read more…
Creating & Importing Databases – SQL Server 2008R2
SQL Server is a Relational Database Management System (RDBMS), so being able to create and import databases is an essential function of all Database Administrators. Today, we’ll take a look at the different methods of creating and importing databases in SQL Server 2008 R2. There are multiple ways to create and import databases, including wizards, menu options, and coding. We’ll cover each in this lesson. Read more…
Today’s Lesson: Installation of SQL Server
Today, we’ll discuss the preparations for the installation of SQL Server 2008 R2. After opening the installation program, unlike most programs, you’ll be faced with a plethora of options and choices. It can be daunting to someone new to SQL, and here I’ll do a quick walk through to get you started. Read more…
Welcome to The SQL School!
Welcome to The SQL School, a new place to learn all things SQL. New lessons will be posted on Tuesday’s and Thursday’s, so make sure to keep up with me on Facebook and/or Twitter to get links to the latest lessons.
All lessons will use Microsoft SQL Server 2008 R2 Express, the free edition of SQL. Click to download.
If something isn’t available in the Express version of SQL Server, I’ll be sure to post more detailed step-by-steps and pictures/videos to make sure you can take from it what is intended.
We will use the AdventureWorks2008R2 database provided by Microsoft. This contains tables, procedures, everything needed to test and develop on a sample database. Click to download.