我得到的错误是:
The column "EngDescAlt" (compile-time ordinal 2) of object "select * from MstBusiness" was reported to have a "DBCOLUMNFLAGS_ISLONG" of 128 at compile time and 0 at run time.
对于几个表中的各个列,我得到相同的错误,每次唯一的区别是列名和表名,我不知道如何解决它。有任何想法吗?
顺便说一句,使用 OpenQuery 不起作用,因为那是我已经在使用的。
任何帮助表示赞赏。
SELECT Z_ID AS BusinessID, EngDescAlt AS Description
FROM OPENQUERY(<LinkedServer>, 'select * from <Tablename>') AS U2_<Tablename>