in reply to return string from query (DBI, MySQL) got truncated when trying to generating statement dynamically for MySQL
Why are your SQL statements so complex, while you seem to perform a rather normal task?