Getting function sequence error in Codeigniter

by Senior Team Lead PHP   Last Updated August 14, 2019 13:06 PM

I am trying to clone a database and its working fine if I disable db_debug mode but throwing below error while running it in db_debug enable mode in Codeigniter but on another side its working fine in core PHP. So as per my understanding, Codeigniter is unable to handle the type of query. Please advise if anyone know about this issue.

Query: SELECT * INTO new_databse.dbo.test   FROM old_database.dbo.test    
Error Number: HY010/0
[unixODBC][Driver Manager]Function sequence error

Related Questions