Re: SQL Statement in JAVA

From: James <james_at_nothing.com>
Date: Thu, 13 Feb 2003 17:49:47 +0200
Message-ID: <1045151387.235255_at_ftp.adept.co.za>


found my mistake the first semi colon is not suppose to be there!

"James" <james_at_nothing.com> wrote in message news:1045148587.997115_at_ftp.adept.co.za...
> Hi there
> I'm trying to execute a sql statment but am getting a SQLException() Can
> anyone see what I'm doing wrong?
>
> Statement stmt = oracleCon.createStatement();
> ResultSet rset = stmt.executeQuery("SELECT value FROM v$parameter WHERE
> (name = 'control_files');");
> I get an error when the executeQuery is executed!
>
> cheers
> James
>
>
Received on Thu Feb 13 2003 - 16:49:47 CET

Original text of this message