G
Guest
Hi all!
I have a strange problem with reading the data from Oracle 8.1.7 sever with Oracle 9.2.0.1 client using Microsoft Managed Data Provider For Oracle ver. 1.0, build 1.0.3300.0 (I'm using Framework 1.0). Furthermore I have experienced that problem on Win2003 Enterprise station but not on Win2000 Server station (I don't see any extra serious differences between the two computers mentioned above)!
So, the problem looks like that:
1. You ask Oracle to give you the data this way:
OracleConnection cn = new OracleConnection(connectionString);
cn.Open();
OracleCommand cmd = cn.CreateCommand();
cmd.CommandType = CommandType.Text;
OracleDataAdapter da = new OracleDataAdapter("select nvarchar2field from testtable", cn);
DataTable dt = new DataTable();
da.Fill(dt);
or this way:
OracleConnection cn = new OracleConnection(connectionString);
cn.Open();
OracleCommand cmd = cn.CreateCommand();
cmd.CommandType = CommandType.Text;
cmd.CommandText = "select nvarchar2field from testtable";
OracleDataReader OraReader = OraCommand.ExecuteReader();
2. You notify that strings in the recently retrieved data are corrupted beginning with some record to the end of all recordset.
The number of correctly retrieved records depends on the SQL query passed to the Oracle.
Could anyone tell me what might be the root of this problem?
Thanx,
Andrei.
I have a strange problem with reading the data from Oracle 8.1.7 sever with Oracle 9.2.0.1 client using Microsoft Managed Data Provider For Oracle ver. 1.0, build 1.0.3300.0 (I'm using Framework 1.0). Furthermore I have experienced that problem on Win2003 Enterprise station but not on Win2000 Server station (I don't see any extra serious differences between the two computers mentioned above)!
So, the problem looks like that:
1. You ask Oracle to give you the data this way:
OracleConnection cn = new OracleConnection(connectionString);
cn.Open();
OracleCommand cmd = cn.CreateCommand();
cmd.CommandType = CommandType.Text;
OracleDataAdapter da = new OracleDataAdapter("select nvarchar2field from testtable", cn);
DataTable dt = new DataTable();
da.Fill(dt);
or this way:
OracleConnection cn = new OracleConnection(connectionString);
cn.Open();
OracleCommand cmd = cn.CreateCommand();
cmd.CommandType = CommandType.Text;
cmd.CommandText = "select nvarchar2field from testtable";
OracleDataReader OraReader = OraCommand.ExecuteReader();
2. You notify that strings in the recently retrieved data are corrupted beginning with some record to the end of all recordset.
The number of correctly retrieved records depends on the SQL query passed to the Oracle.
Could anyone tell me what might be the root of this problem?
Thanx,
Andrei.