invalid sql statement RRS feed

  • Question

  • Hi,
    I am using C# and trying to start an oracle database using following command


    when i execute it on sqlplus it works fine
    but when i do the same by using the code and using the ExecuteNonquery() then it says invalid sql statement.

    It may be true probably because commands like startup and shutdown are Oracle specific.

    Then what can i do in my program to get the work done.
    Monday, June 2, 2008 2:08 PM

All replies

  • Isn't STARTUP an SQL*Plus command and not a PL/SQL command?
    Monday, June 2, 2008 7:38 PM