http://www.perlmonks.org?node_id=400265


in reply to DBI Invalid Cursor State when PRINT statements are embedded in SQL

Don't think it is a problem with DBI, first of all DBI does nothing with your SQL statement.

And this is not a standard SQL statement, if you say this is fine with Sybase, then it is a Sybase extention. And it more like sort of debug method Sybase added (not a core function to the database manipulation or definition).

I would think it is way too normal for other databases not to recognize it.