Yes mje, you certainly did. For the future benefit of others, here's my response that adds some additional details.
That's exactly what the problem was, sorta. I wasn't using a DSN, but I had specified the Regional=Yes; setting in my connection string.
dbi:ODBC:Driver={SQL Server}; Server=%server; Database=%db; Regional=Yes;
vs
dbi:ODBC:Driver={SQL Server}; Server=%server; Database=%db; Regional=No;
Knowing that the DSN had that option (I don't get to interact with our server, our server guy does) made me rethink the purpose of the Regional setting. Both Perl and PHP were using the same connection string which explains why both languages were doing that.
I turned it off and thousands of queries went from completely broken and failing to 100% working.
Thank you so much!
In reply to Re^2: Need DBI/ODBC advice.
by Brak
in thread Need DBI/ODBC advice.
by Brak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |