Your First SQL Statement
Databases and Tables A SQL database is an organized collection of data. Or at least that’s what they taught me in college. In real life, it’s only as organized as the people putting data into the...
View Article20 Lessons About Business I Learned From Dungeons & Dragons
I started playing Dungeons and Dragons in about the 5th or 6th grade. I didn’t get good at it for awhile. And once I got good at it, I didn’t play much longer (insert reference to “The Best Days of My...
View ArticleThe SQL SELECT Statement
Most tasks you will execute against a database are done with SQL statements. Think of statements as a query, an insert, a change, or a delete operating. For example, to see all of your data, you would...
View ArticleUs the ORDER BY Keyword With Your SQL SELECT Statements
The ORDER BY keyword in a SQL SELECT statement is used to sort a given result-set based on the contents of one or more columns of data. By default, results are in ascending order, but you can use...
View ArticleConstrain SQL Queries Using WHERE and LIKE
Previously, we covered the SQL SELECT Statement, to pull data from a SQL database. Here, we’ll constrain our search for items that match a given string, or pattern using the WHERE clause to filter...
View ArticleCompound Searches With SQL Using AND && OR
Previously, we looked at the SQL SELECT and WHERE options to obtain output and then constrain what would be displayed in a query. The AND & OR operators are used to add additional logic so you can...
View ArticleAdd New Records To MySQL Databases With The INSERT Statement
Sometimes you need to write a record into a table in a SQL database. The INSERT INTO statement creates new records in a table and can work in one of two ways. The first form does not specify the column...
View ArticleUpdate Existing SQL Records Using the UPDATE Statement
Previously we looked at finding data in a SQL database and The UPDATE statement is used to update records in a table. You can also use the UPDATE statement to update existing records in a table. When...
View ArticleVirtual Strategy Magazine Article On Security Breaches And Their Impact On...
The title of this one ended up a bit more FUDy than I’d prefer, but the content’s mostly what I provided. With the rise of SMB-friendly backup solutions like CrashPlan, Carbonite, Mozy, and Backblaze,...
View ArticleA quick list of iOS Functionality Restrictions
There are a lot of payloads that MDM and profiles can manage in iOS. Restrictions are probably the one I get the most questions about. And most are pretty self-explanatory. Sooooo, rather than open...
View ArticleRemove Records From A MySQL Database
Sometimes you have data in a MySQL database that you just don’t need. You can delete tables and records pretty easily. In fact, it’s almost too easy. And there’s no undo. So be careful. And backup. And...
View ArticleHey Photos, stop opening when I plug in my devices…
When I plug my iPad in, Photos opens. I want it to stop opening when I plug it in. To make it stop, write a disableHotPlug key into com.apple.ImageCapture as true: defaults -currentHost write...
View ArticleMoar About SQL Wildcards
Previously we looked at using wildcards in conjunction with the SQL LIKE operator. Wildcards allow you to search for data in a defined table. Think of them as text globbing for SQL. The wildcards...
View ArticleMy MacADUK Slides from London
As promised, here’s the presentation I gave this morning at the MacAD UK Conference in London. It is incredibly well put together and all the presentations thus far have just been fantastic. Congrats...
View ArticleCompound Searching Using The SQL WHERE Statement With The IN Operator
One of the most important aspects of searching for objects is to be able to define multiple values in a search. We looked at searching using text globbing. But the IN operator goes a step and allows...
View ArticleQuery SQL Data In A Range Using The BETWEEN Operator
Sometimes you’re looking for IDs, prices, zip codes and the like in a range. You can use the BETWEEN operator to select integers, text, or dates within a range of items. The syntax when using the...
View ArticleRemove Items From SQL Databases Using the DROP Statement
In SQL, the DROP Statement is used to remove databases, tables, and indexes. The syntax to remove a table is: DROP TABLE nameoftable Wow. That’s really, really easy. I mean, you can delete craploads of...
View ArticleLink Data In Multiple Tables Using The SQL JOIN Clause
A SQL JOIN clause combines rows from tables, based on a field shared between them (often a joining or ID field). There are four types of JOINs: INNER JOIN: Show rows when there’s a match in BOTH tables...
View ArticleAdd Columns, Delete Columns, and Edit Columns, and Find Love Using SQL ALTER...
Previously, we covered creating tables in SQL. To create a column in a table, use the ALTER TABLE statement, along with the ADD and then define a column name followed by the data type: ALTER TABLE...
View ArticleHello Swift
Let’s do a typical Hello World example in Swift. I have Xcode installed, so I can invoke a swift environment using xcrun, a command to start an interactive Xcode environment and then defining swift as...
View Article