File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Java DB Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Java DB Error" Watch "Java DB Error" New topic

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

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

Joined: Feb 24, 2006
Posts: 6662

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:
subject: Java DB Error
jQuery in Action, 3rd edition