aspose file tools
The moose likes JDBC and the fly likes Unknown column 'mkl' in 'field list Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Unknown column Watch "Unknown column New topic
Author

Unknown column 'mkl' in 'field list

Tapan Prajapati
Greenhorn

Joined: Mar 05, 2010
Posts: 27



i get an error : unknown column in 'xx' in field list when i run it and entered the text in text field the value displayed in ' ' and i used net bean . javascript:emoticon('');
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24057
    
  13

Your SQL syntax is wrong; the string has to be in single quotes. But you should never, never do this, as you're opening the door to a SQL injection attack (Google that to learn about it if you don't know what it is.) Instead, you should just do this:





[Jess in Action][AskingGoodQuestions]
Tapan Prajapati
Greenhorn

Joined: Mar 05, 2010
Posts: 27
Ernest Friedman-Hill wrote:Your SQL syntax is wrong; the string has to be in single quotes. But you should never, never do this, as you're opening the door to a SQL injection attack (Google that to learn about it if you don't know what it is.) Instead, you should just do this:






Thanks a lot.! its work.!


javascript:emoticon('');
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Unknown column 'mkl' in 'field list
 
Similar Threads
retrieving database data to textarea
Problem With GUI of Net Beans
swing with mysql connection1
Pressing a button to open a new window
how will we move from one page to another within the same window in Swing?