Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java DB Error

 
Samanthi perera
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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

 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What makes you think that the backtick ("`") is a legal character in SQL?
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic