rails-sqlserver/activerecord-sqlserver-adapter — Issue #137: Having problems with a few of the options used for osql
Author: Altonymous
Created: 2011-10-26 03:02:26+00:00
State: open

`osql -E -S #{abcs["test"]["host"]} -d #{abcs["test"]["database"]} -i db\\#{Rails.env}_structure.sql`

/usr/local/bin/osql: illegal option -- E
/usr/local/bin/osql: illegal option -- d
/usr/local/bin/osql: illegal option -- i

Every time the above options are used they through an error when interacting with sql server. I took them out of the database.rake file and only use the -S option and it seems to work fine. When doing a man on osql it appears none of these options are available to me.

I'm not sure if it's a configuration issue for my environment or a problem with the script being out of date. Since everything else works fine and removing them it appears they continue to work fine, I'm going to assume the database.rake file is wrong.