host = ENV['SQLHOST'] || 'localhost'
config = {
  :username => 'blog',
  :password => '',
  :adapter  => 'mssql',
  :database => 'weblog_development'
}

ActiveRecord::Base.establish_connection( config )

config = {
  :username => 'blog',
  :password => '',
  :adapter  => 'mssql',
  :database => 'weblog_development'
}
config[:host] = ENV['SQLHOST'] if ENV['SQLHOST']

ActiveRecord::Base.establish_connection( config )

Allow override of host where sqlserver is running through ENV['SQLHOST']
Allow override of host where sqlserver is running through ENV['SQLHOST']
