arr2036, thank you for your answer. You are right! I use unixodbc driver for Informix DB connection. I checked my query in isql (CLI for unixodbc) and got next result: +------------+---------+-------------------+--------------------+---+ | id | username| attribute | value | op| +------------+---------+-------------------+--------------------+---+ | 1 | test | Cisco-Account-Info| AOPEN_DNS | = | | 2 | test | Cisco-Account-Info| AL4REDIRECT_SERVICE| +=| | 3 | test | Cisco-AVPair"____"| ip:addr-pool=pool1 | +=| +------------+---------+-------------------+--------------------+---+ The error appeared because unixodbc-driver returned an attribute Cisco-AVPair in 3-rd row as "Cisco-AVPair"+"____" (where "_" = whitespace) TRIM('Cisco-AVPair') sql function helped me.