This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Java DB Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Java DB Error" Watch "Java DB Error" New topic
Author

Java DB Error

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510


when i am going to run this aode in Netbeans SQL Command is says

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41123
    
  45
What makes you think that the backtick ("`") is a legal character in SQL?


Ping & DNS - my free Android networking tools app
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

They must have been introduced when you copied it from a word document or something. Correct the illegal characters to continue and create the table.

Also pay attention to the error message line number and column. It pretty much told you where the offending character was


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java DB Error
 
Similar Threads
create table auto_increment
Three problems with mysql...
JavaDb creating table error
how set "default" inthe name of column ?
SQL query not giving any result