Microsoft
Software
Hardware
Network
Question : Update column SYS.XMLTYPE more 64kb. Using CSHARP
Hi,
I need a update one column XmlType in oracle table more than 64kb. Using CSHARP.
Example:
string sql = @" UPDATE TbParceiro
SET configuracao = :configuracao
WHERE parceiro = :parceiro ";
DbCommand comm = Database.GetSqlStringComma
nd(sql);
comm.Parameters.Add(new OracleParameter("parceiro"
, parceiro));
comm.Parameters.Add(new OracleParameter("configura
cao", configuracao.ToString()));
ExecuteNonQuery(comm);
its. throw exception "ORA-01461: can bind a LONG value only for insert into a LONG column"
---
My Column configuracao is XMLTYPE
My COlumn parceiro is varchar(32)
2010-08-25 15:42:10.3220 Trace [5132] - LOG QUERY
UPDATE TbParceiro
SET configuracao = :configuracao
WHERE parceiro = :parceiro
parceiro = mapfrews
configuracao = content of <configuracao.txt> attachment.
Question. How to insert large data ( > 64kb) in column type xmltype ??
Thank you
Attachments:
configuracao.txt
(8 KB)
(File Type Details)
Cotent of variable configuracao
Answer : Update column SYS.XMLTYPE more 64kb. Using CSHARP
Sorry, it's not a c# limitation, it's an XMLTYPE limit in oracle that isn't resolved until 11g
Random Solutions
HP Laserjet 2420 not printing the first time when connected via usb from a laptop
how can i translate gujarati sentence into english sentence ??
Sending email from ASP.Net 2.0
Maps for my Delphi Nav200
How to set the forecolor a column in datagridview.vb.net 2005 windows
Craniosacral therapy risks
Clients not connecting to WSUS
ipod music / itunes
Remote Web Workplace - Windows Server 2008
Function in excel