Quantcast
Channel: Oracle, MySQL, Sybase, Informix and other databases
Viewing all articles
Browse latest Browse all 1350

Am getting this error in orcle 11g ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'POPULATE_GENERAL_BOND_DATA' ORA-06550: line 1, column 7: PL/SQL: Statement ignored

$
0
0

Here   p_ebond_id is output parameter and its datatype is number below code am using but getting error.Please tell where am going wrong. 

             OracleParameter pebondidout = new OracleParameter();
                pebondidout.ParameterName = "p_ebond_id";
                pebondidout.Direction = ParameterDirection.Output;
                pebondidout.Size = 1;
                pebondidout.ArrayBindSize = new int[1] { 100 };
                pebondidout.OracleDbTypeEx = OracleDbType.Varchar2;
                pebondidout.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
                Orcmd1.Parameters.Add(pebondidout);
                
                Orcmd1.Connection = Oracon;
                Oracon.Open();
                int k = Orcmd1.ExecuteNonQuery();

                Resultset = (string[])Orcmd1.Parameters["p_ebond_id"].Value;

Thanks in Advance


Viewing all articles
Browse latest Browse all 1350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>