on 07-17-2015 1:17 PM
Hi to all,
I have a problem with a query executed from any MS SQL using a Linked Server to my SAP IQ 16.
If I do a Test Connection, it works.
The query is:
select * from IQ..dba.table (IQ is my Linked Server)
The error is:
MSG 7356, Level 16, State 1, Line 1
The OLE DB provider "MSDASQL" for linked server "IQ" supplied inconsistent metadata for a column.
The column "column name" (compile-time ordinal 1) of object ""dba"."table""
Was reported to have a "DBCOLUMNFLAGS_ISNULLABLE" of 0 at compile time and 32 at run time.
Someone already had the same problem?
Thanks
Paolo
Hi,
Which OLEDB Provider has been used when test connection?
And Please show the definition of tables.
Is it same when using OPENQUERY?
ex)
select * from OPENQUERY( MyLinkName, 'select * from Account').
Please refer to below SCN Article (ASE / MSSQL)
...
{COLUMN} was reported to have a "DBCOLUMNFLAGS_ISNULLABLE" of 0 at compile time and 32 at run time.
Actually, there is no way to bypass this error other than changing the source table definition for the column to allow null values. This is pretty grave – but the only alternative is to retrieve the full remote table values locally and to make the outer join locally.
...
==
Gi-Sung Jang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.