Results 1 to 2 of 2
Thread: sql in jsp error
- 03-22-2012, 12:10 PM #1
Member
- Join Date
- Mar 2012
- Posts
- 3
- Rep Power
- 0
sql in jsp error
String sql = ("SELECT sid,serial# FROM v$session WHERE USERNAME="+username+"AND MACHINE="+machine+";") ;
I want to get sid and serial no from username and machine using v$session for enabling trace using jsp
For this statement i'm getting error:
Error: java.sql.SQLException: ORA-00933: SQL command not properly ended
Pls help me out! I'm new to all this so put it in layman terms
- 03-22-2012, 12:46 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Similar Threads
-
java out of memory error-heap space error
By elsanthosh in forum NetBeansReplies: 4Last Post: 06-15-2010, 09:31 AM -
> Operator cannot be applied error and return incompatible types error
By corney_16 in forum New To JavaReplies: 1Last Post: 03-10-2010, 01:53 PM -
Thread: Error 500--Internal Server Error java.lang.NullPointerException
By jackdear44 in forum New To JavaReplies: 1Last Post: 12-05-2009, 07:28 AM -
java.lang.Error: Error opening DSound for capture
By NARs in forum NetworkingReplies: 1Last Post: 10-26-2009, 04:38 PM -
Diference Between compiler error Garbage collection and Runtime Error?
By makpandian in forum New To JavaReplies: 3Last Post: 01-23-2009, 08:53 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks