Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
Database Application Development
Windows and .NET
This discussion is archived
on Feb 4, 2013 12:34 PM by Tridus
executing sql*plus commands using odp.net
Feb 4, 2013 9:02 AM
we are developing query builder ,
its working fine with sql commnads using cmd.executenonquery() and executereader() methods.but problem with sql*plus commands.
please guide me how to execute sql*plus commands,
(eg:desc tablename,show user etc).
thanks in adv.
I have the same question
Show 0 Likes
This content has been marked as final.
Show 1 reply
Re: executing sql*plus commands using odp.net
Feb 4, 2013 12:34 PM
in response to
AFAIK, you can't. SQL*Plus (Or SQL Developer, depending on what you're using) are converting those into database queries for you when you're using them.
You can do the same queries yourself, though. Here's some info on what desc is doing: http://stackoverflow.com/questions/9855209/how-can-i-describe-a-table-in-oracle-without-using-the-describe-command