I`m using MSSQL. For example if take that query and put it into the mssql client(replace $vars with names )then it works fine. Its just when i make call from the script it doesnt work.
The error says:
Query error at F:\perl\rozne\ucfirst.pl line 20.
I can pull data from that table without any problem.