Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

linked server error

$
0
0

When I run below query its giving error:

   SELECT *
FROM [P3FI.WORLD]..[ADHOC].[V_POSITION_FW]

Msg 7356, Level 16, State 1, Line 1
The OLE DB provider "OraOLEDB.Oracle" for linked server "P3FI.WORLD" supplied inconsistent metadata for a column. The column "CONFID_AGREEMENT_SIGNED" (compile-time ordinal 3) of object ""ADHOC"."V_CONTRACTOR_FW"" was reported to have a "DBCOLUMNFLAGS_ISNULLABLE" of 0 at compile time and 32 at run time.

When I run this query  

select * from openquery([P3FI.WORLD],'select * from adhoc.V_CONTRACTOR_FW')  

it runs fine

Please suggest

Best regards,

Vishal


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>