I can query the SQL server DB fine. The problem happens when I try and query a view.
I'm not trying to do anything crazy:
$sql = 'select * from location_v';
$stj = $db_destination->prepare($sql);
It keeps dying on the prepare line. Here's what I'm getting back (which isn't all that useful):
DBD::ODBC::db prepare failed: (DBD: st_prepare/SQLPrepare err=-1)
Shouldn't views be handled exactly the same as a table? Thanks in advance.