0
I am developing a web application in MVC
with C#
.
I made a method that makes a select in my bank oracle and with the value returned I fill a DataTable
.
But it returns an error the moment I run "dataAdapter.Fill(resultado)
" returning the error:
OCI-22053: overflow error.
Can anyone tell me the reason for this mistake?
Follows code of method:
public DataTable ResgataArquivos()
{
var resultado = new DataTable();
myConnection.ConectarBanco(modelLogin);
var query = "SELECT * FROM ARQUIVO";
var command = new OracleCommand(query, myConnection.connection);
var dataAdapter = new OracleDataAdapter(command);
dataAdapter.Fill(resultado);
myConnection.FecharConexaoBanco();
return resultado;
}
Matheus, did you ever do a test limiting the amount of results? (WHERE ROWNUM <= qtd_lines);
– Cleiton
No. But this table of mine only has 1 record.
– Matheus Bessa