Use ODBC in .NET to connect DB2, take the clob field

zhaozj2021-02-16  58

I have encountered a problem when maintaining the system: In the .NET, use ODBC to connect DB2, and take the CLOB field. Surprisingly, when executing the Select * from Table, even the name of the clob field can not be taken.

Finally, I checked the information and set it in ODBC. Specifically, the high-grade / data type attribute / long object in ODBC is used, the value is selected as longvar, and then the maximum is selected.

I don't know if you encounter this problem with this to take a large-term.

转载请注明原文地址:https://www.9cbs.com/read-19160.html

New Post(0)