Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: solution: returning the contents of dbms_output after running a sp in vb .net

Re: solution: returning the contents of dbms_output after running a sp in vb .net

From: Kevin <kevinherring_at_lycos.co.uk>
Date: 31 Oct 2006 09:44:58 -0800
Message-ID: <1162316698.547777.133210@i42g2000cwa.googlegroups.com>


ok, i found a mistake:
cmdShow.Parameters.Add("buffer", OracleDbType.VarChar).Direction = ParameterDirection.Output

should become
cmdShow.Parameters.Add("buffer", OracleDbType.Long).Direction = ParameterDirection.Output

I didnt realise the oracle data type of Long is a big string as opposed to the vb net type wihich is a big integer, and I was getting overflows Received on Tue Oct 31 2006 - 11:44:58 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US