in reply to Re^2: [Windows / SQL Server / ODBC / DBI / DBD] How to access XML data type columns
in thread [Windows / SQL Server / ODBC / DBI / DBD] How to access XML data type columns

Glad you are working although I might have pointed at LongReadLen myself if you hadn't given the impression you were getting no data back at all for that column.

  • Comment on Re^3: [Windows / SQL Server / ODBC / DBI / DBD] How to access XML data type columns

Replies are listed 'Best First'.
Re^4: [Windows / SQL Server / ODBC / DBI / DBD] How to access XML data type columns
by Jenda (Abbot) on Jul 22, 2010 at 10:33 UTC

    Except that he wasn't getting any data back. The LongTruncOk was false, so the query failed returning no rows.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.

      ok, so LongTruncOk was false but unless the OP had also disabled PrintError and RaiseError he should have got a "String data, right truncation" error. The only point I was attempting to make was that a little bit more information here would not have hurt.

      You got it!

        Could you clarify as this may be a bug. You got no error or warning at all, you got no rows and you had not disabled PrintError/RaiseError but simply increasing LongReadLen returned a row?