Category: SQL

  • MySQL Pulled From Mac OS X Lion

    Apple-based LAMP developers be warned: the new version of OS X does not include MySQL, which was formerly part of the developer tools shipped with the operating system. In its place look for deliciously Oracle-free PostgreSQL. Of course, developers can and will continue to download MySQL and install it themselves, but the out-of-box experience moving forward will be with PostgreSQL.

  • Database Migrations

    Maintaining database schemas across development environments (especially in teams) and in production can be a real nightmare. Fortunately there are a number of solutions which make database management easier.

  • Using Memcache with MySQL

    MySQL+Memcache have been bedfellows for awhile and at this point are the de facto standard for highly-available, scalable websites. Even with other SQL and NoSQL solutions starting to become popular, this pair holds on as the winner for LAMP programmers. Is the complexity of working with this technology pair worth the investment?

  • Drizzle - MySQL for the Cloud

    Drizzle - a lightweight fork of MySQL - has reached general availability. Drizzle’s design goals are to create a highly performant and module database engine tailored for cloud computing.

  • VISTA: How to fix SQL Server Express Error - CREATE DATABASE permission denied in database 'master'

    If you’re using SQL Server Management Studio Express under Windows Vista and see either of these errors:

  • Optimize SQL Queries by Using Aliases

    When joining tables in SQL, we often use aliases to shorten table names. Consider this query joining order lines (details) with orders inside the database:

  • SELECT TOP N in Oracle

    Being used to SQL Server, I get messed up when moving to Oracle. For reference, here are equivalent top N queries in both environments:

  • How to SUM Bit Fields in SQL

    By default, SQL Server doesn’t allow an operation like this:

  • SQL Connections in ASP.NET - What you learned is WRONG!

    When we learn how to open and use a database connection with ASP.NET, as with any other programming concept in any other programming language, the simplified version used to explain what’s going on is not truly representative of the quality professional code we will one day be expected to write. Opening and Closing Connections

  • How to Create Full Text Search Using mySQL

    Search is one of the most basic features visitors expect when they come to a web site. This is especially true in e-commerce where your ability to make a sale is directly related to your customer’s ability to find the product they’re looking for.

All categories