Maximum string length: SQL & PL/SQL
469860Dec 25 2006 — edited Jul 17 2007A very simple question... What is maximum string length, supported by ODP.NET when transporting values to/from DB?
I cant found it in documentation, and make some experiments. Some results is discouraging (for me):
* Input to SQL statement: 2000 National / 4000 ASCII characters, its OK.
* Output from SQL query to DataReader: 2000 National / 4000 ASCII characters, its OK.
* Input to PL/SQL: 16256 National / 32512 ASCII characters. (???? Strange numbers)
* Output from PL/SQL: 10837 National / 10838 ASCII charactes (???? Strange numbers). OracleParameter.Size = 10837, increasing doesnt change value limit.
Why PL/SQL input/output string limits are so strange?
What causes this limits?