This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
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
Rancher

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

Joined: Feb 24, 2006
Posts: 6662
    
    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
 
Have you checked out Aspose?
 
subject: Java DB Error
 
It's not a secret anymore!