This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
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: 41034
What makes you think that the backtick ("`") is a legal character in SQL?

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

Joined: Feb 24, 2006
Posts: 6661

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
Similar Threads
how set "default" inthe name of column ?
Three problems with mysql...
SQL query not giving any result
JavaDb creating table error
create table auto_increment