in reply to Reaped: Perl/SQL Server Discrepancy

A simple possibility is case sensitivity. You might have logically duplicate keys in your hash only different by their case. Hash keys are case sensitive, but columns might not be, depending on the type.