Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Oracle long raw data in an oracle view were truncated when I select the view via linked server, but no issue to select an Oracle table via linked server

$
0
0

Hi,

my issue was very strange. our SQL 2005 server needs to retrieve some data from an Oracle table, the oracle table contains a long raw datatype column. I created a linked server, run "select" statement against the table via linked server, and the column can return correct value in SQL side. Due to security reason, we don't want SQL server to read all columns and records in the Oracle table. So we created a view with where clause in Oracle side, then I run "select" statement against the view via linked server again, but value in the column was chopped. I ran "select" statements against the table and view in oracle side, both returned correct values. So I can't figure out the reason.

Thanks

David


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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