-
Missing Comma Error
Hello,
I get the error "java.sql.SQLException: ORA-00917: missing comma" when i execute the below insert statement.
stat.executeQuery("insert into sla values('','"+project_id+"','0','18-APR-11','"+bn.getSelectedPG()+"','"+Process+"','"+tot_vol+"','"+DefectOntime+"','"+DefectOntim e+"','"+DefectFree_Failed+"','"+DefectFree_Failed+"','"+CurrentDate+"','"+userID+"','"+Cur rentDate+"','"+userID+"',''");
It execute fine when i execute it in DB. I checked the value of variables inside insert statement, nothing looks wrong... Kindly help.

Thanks in Advance,
Deepakkumar.
-
This issue is resolved. I missed the close parenthesis for the insert statement. The error "Missing Comma" diverted me.
Similar Threads
-
By GiftX in forum VB Classic
Replies: 12
Last Post: 10-24-2008, 02:15 PM
-
By Chris H Baker in forum C++
Replies: 5
Last Post: 01-17-2007, 01:37 PM
-
By mesh2005 in forum .NET
Replies: 1
Last Post: 03-06-2006, 08:16 AM
-
By James Barbetti in forum ASP.NET
Replies: 2
Last Post: 11-06-2001, 01:13 PM
-
By Chris.G in forum VB Classic
Replies: 4
Last Post: 11-13-2000, 03:16 PM
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks