Tag: SQL

  • 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.

  • 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:

  • How to Move a Wordpress Database

    One of the most common requirements for web developers is the ability to switch code from development servers to live production environments. This can be tricky if you’re working with Wordpress; moving the files is dead simple, but since Wordpress uses canonical URLs you have to be careful if you are trying to transfer any of your database content.

  • 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:

  • 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.

  • Maintaining SQL Connections in ASP.NET

    There is a lot of conflicting advice with regard to the proper way of using SQL connections in web work.  The two main schools of thought are:

All tags