Re: MS Oracle Data Provider BUG: Data corrupt after 16 rows with O
From: Angel Saenz-Badillos[MS] (angelsa_at_online.microsoft.com)
Date: 07/19/04
- Next message: Woody Splawn: "Text datatype question continued"
- Previous message: emMBee: "Problems with OracleCommandBuilder"
- In reply to: Frans Bouma [C# MVP]: "Re: MS Oracle Data Provider BUG: Data corrupt after 16 rows with O"
- Next in thread: philipp: "Re: MS Oracle Data Provider BUG: Data corrupt after 16 rows with O"
- Reply: philipp: "Re: MS Oracle Data Provider BUG: Data corrupt after 16 rows with O"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 19 Jul 2004 15:50:30 -0700
I was thinking more along the lines of invalid UTF 8 data having been
inserted into the Oracle database. This is surprisingly easy to do and hard
to catch. By default some providers and sqlplus are not safe to use with
Unicode into a UTF8 database, when you insert Unicode data it inserts
"garbage". This is hard to catch because reading back the "garbage" data
with the same provider that you used to insert it will return the data you
where expecting. True Unicode providers like odp.net and the oracle managed
provider will instead return the "garbage". The best way to verify this is
to do a "select dump(<row>, 1016) from <yourtable>" and use a utf8
converter to verify that the data in the database is correct.
-- Angel Saenz-Badillos [MS] Managed Providers This posting is provided "AS IS", with no warranties, and confers no rights.Please do not send email directly to this alias. This alias is for newsgroup purposes only. I am now blogging about ADO.NET: http://weblogs.asp.net/angelsb/ "Frans Bouma [C# MVP]" <perseus.usenetNOSPAM@xs4all.nl> wrote in message news:xn0dkyszusv731000@msnews.microsoft.com... > Angel Saenz-Badillos[MS] wrote: > > > It is really strange that both ODP.NET and the Oracle Client managed > > provider are running into this question, especially since your database is > > using UTF8. How did you insert the data? Can you do a select dump to get the > > actual value inserted in the database and verify that the data was inserted > > correctly? > > ... perhaps it's something with the oracle client (thus not the provider, > but the actual client software the provider talks to) settings. > > FB
- Next message: Woody Splawn: "Text datatype question continued"
- Previous message: emMBee: "Problems with OracleCommandBuilder"
- In reply to: Frans Bouma [C# MVP]: "Re: MS Oracle Data Provider BUG: Data corrupt after 16 rows with O"
- Next in thread: philipp: "Re: MS Oracle Data Provider BUG: Data corrupt after 16 rows with O"
- Reply: philipp: "Re: MS Oracle Data Provider BUG: Data corrupt after 16 rows with O"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|