|
-
Apr 5th, 2007, 05:52 AM
#1
Thread Starter
Addicted Member
getting table details using oracle
hi to all,
i am using the following code for getting the table details.But i giving the error "ORA-00900: invalid SQL statement". the code is
oledbcon = new OleDbConnection("Provider=OraOLEDB.Oracle;User Id=" + strusername + ";Password=" + strpassword + "");
oledbcon.Open();
oledbcmd = new OleDbCommand(query,oledbcon);
oledbreader = oledbcmd.ExecuteReader();
while (oledbreader.Read())
{
MessageBox.Show(oledbreader[0].ToString());
}
oledbreader.Close();
oledbcon.Close();
Plz somebody help me to solve the problem.
thank u
with thanks and regards
mmary
-
Apr 5th, 2007, 10:10 AM
#2
Re: getting table details using oracle
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Apr 9th, 2007, 01:21 AM
#3
Thread Starter
Addicted Member
Re: getting table details using oracle
thank u for ur kind help. its really working.thank u very much.
with thanks and regards
mmary
-
Apr 9th, 2007, 07:33 AM
#4
Re: getting table details using oracle
If this resolves your issue could you mark the thread as resolved using the thread tools menu.
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Apr 9th, 2007, 06:40 PM
#5
Hyperactive Member
Re: getting table details using oracle
Hey, could you post what the error was and the solution?
Jen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|