title: ORA-01460: unimplemented or unreasonable conversion requested
body: <p>When I run the following .Net code:</p>
  
  <pre><code>using (var c = Shared.DataSources.BSS1.CreateCommand())
  {
      c.CommandText = "\r\nSelect c1, c2, c3, rowid \r\nFrom someSpecificTable \r\nWhere c3 = :p0";
      var p = c.CreateParameter() as Oracle.DataAccess.Client.OracleParameter;
      c.Parameters.Add(p);
      p.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2;
      p.DbType = System.Data.DbType.AnsiString;
      p.Size = 20;
      p.Value = "007";
      p.ParameterName = ":p0";
      using (var r = c.ExecuteReader())
      {
          r.Read();
      }
  }
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>ORA-01460: unimplemented or unreasonable conversion requested
  ORA-02063: preceding line from XXX
  </code></pre>
  
  <p>This is not my database, and I don't have control over the select statements that I get, that table IS from a database link.</p>
  
  <p>The funny thing is that if I add the following code just before the ExecuteReader it runs fine.</p>
  
  <pre><code>c.CommandText = c.CommandText.Replace("\r\n", " ");
  </code></pre>
  
  <p>Unfortunately that is not a good solution in my case as I can't control to SQL nore can I change it that way.</p>
  
  <p>As for the table itself, the columns are:
  c1 Number(5)
  c2 varchar2(40)
  c3 varchar2(20).</p>
  
  <p>I know that ORA-02063 that comes after indicate something about a database link, but I looked in the synonim table and it didn't come from any database_link, and also I don't think that \r\n should affect database link.</p>
  
  <p>I tried running the query without bound parameters, and it did work - but again bad practice to do so in a general term.</p>
  
  <p>The trouble is that a competing tool that is not .Net based, is working and thus it's not a general problem.</p>
  
  <p>I also couldn't reproduce the problem in my own environment, this is a customer database and site.
  I am using instant client 11.1.6.20 and also tested it with instant client 11.2.3.0</p>
  
  <p>The db is 10 and the db link is to an oracle v8 database</p>
  
  <p>Any help would be appreciated</p>