SQL link Oracle data indefinite length problem

Source: Internet
Author: User
Tags ole

select * from test..TEST.TEST1

Server: Message 7356, Level 16, State 1, line 1

OLE DB provider ' oraoledb.oracle ' provides inconsistent metadata for the column. Meta data information was changed while executing.

OLE DB Error Tracking

[Non-interface error: 
Column 'DUMMY' (compile-time ordinal 1) of object '"TEST".
"TEST"' was reported to have a DBTYPE of 129 at
compile time and 130 at run time]。

Here we find that when using a precision data type, the query does not report errors of this metadata type mismatch.

This is Oracle's bug:3117040 in 9.2.0.4.10.

So if the Oracle version is lower than this, avoid using data types with no precision (indefinite data length) in the column that SQL Server's link seerver needs to access.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.