Urgent No Data

  • Thread starter Thread starter Sundeep
  • Start date Start date
S

Sundeep

Dear all, i am using the following code to get data from
Oracle. Sometime it returns 0 record but if i reduce the
number of columns or reduce the size of columns in query,
i get all the records. ANy Pointers?

DataSet dsTmp = new DataSet();
OracleDataAdapter daOracle = new OracleDataAdapter();
string strOracle = OracleSqlManager.GetParsedSql
(SqlNumber, hsTmp);
OracleCommand cmdSelect = new OracleCommand(strOracle);
cmdSelect.Connection = this.OraCon;
daOracle.SelectCommand = cmdSelect;
daOracle.Fill(dsTmp);
return dsTmp;
 
Is the ONLY difference in getting records and not getting records the number
of columns? No where clause or test database vs. production?

If so, how many columns are you asking for?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top