问题
The query I have made in oracle does not work with linked server with sql server 2008.
The OLE DB provider "MSDAORA" for linked server "ORACLE" supplied invalid metadata for column "DATETIME_INS". The data type is not supported.
The query:
select * from ORACLE..U_GERAN.CELLSTATS4

What are the modification that must be done to execute the query.
回答1:
Try,
SELECT *
FROM OPENQUERY(ORACLE, 'select cast(DATETIME_INS as DATE) from U_GERAN.CELLSTATS4')
You can add the other columns to the query once that column works.
来源:https://stackoverflow.com/questions/9869892/in-sql-server-how-can-i-query-an-oracle-timestamp-column-over-a-linked-server-c