This content has been marked as final. Show 7 replies
Can you run date command on oracle server and show the result like below
[oracle@localhost ~]$ date
I don't have access to oracle command editor - where i can execute the oracle statement you have asked for.
Can you paste the entire code of the page here .
What is the functionality for your code .
Following is the code;
Functionality is to just retrieve the data in data set.
string oradb = "Data Source=(DESCRIPTION="
+ "User Id=testtesttest;Password=passwordsample;";
OracleConnection conn = new OracleConnection();
conn.ConnectionString = oradb;
string sql = "SELECT * from tbl1009715";
OracleDataAdapter da = new OracleDataAdapter(sql, conn);
DataSet ds = new DataSet();
da.Fill(ds); *// At this statement i am getting the error - Year month and day parameters describe an un-representable datetime*
Edited by: 959481 on Sep 17, 2012 8:01 AM
can you give the column datatypes for the table you are using
Right now i don't have table defination with me.
discard the date column and check the sql statement