I wrote thisĀ applicationĀ as part of Database Systems module

Features

  1. Syntax highlighting
  2. SQL Validation
  3. File Management
  4. history
  5. much much more

If you want to extend it to work with other databases
just implement a concrete implementation of SQLDatabase

Download Visual Studio 2010 Solution