Click here to Skip to main content
15,886,678 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We are trying to get the value from DB2 database table via Linked Server in SQL server 2016. The DB2 table has one column with the data type of "Packed Decimal in the Length of 11 & Precision of 5". when I query this column in SQL Server, I'm getting only the decimal value and not getting any precision value.

How do I get the actual value (via linked servers)which is exactly available in DB2 from SQL Server 2016?

What I have tried:

For eg. In DB2 the actual value is "5.67234" whereas in SQL Server giving the column value as "5.00000".
Posted
Updated 27-Nov-19 21:10pm
v2
Comments
CHill60 28-Nov-19 6:35am    
Would it be fair to say this is now resolved at Packed Decimal datatype in DB2[^]?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900