MySQL Forums
Forum List  »  General

UNKNOWN COLUMN 'ENULL' IN 'FIELD LIST'
Posted by: khor shan
Date: March 17, 2005 04:45AM

hi..
i'm newbie here.

i need help badly here.

this is my code:

SAConnection con;
SACommand cmd(&con);//,"Select file_id,"+q.front()+" from file");

string s = q.front();
q.pop();
while(!q.empty()){

s = s + "," + q.front();
q.pop();

}
cout<< s <<endl;
try
{
con.Connect("search","kks","",SA_MySQL_Client);


s = "Insert into file(filename)values(" + s ; s = s + ")";
cout<< s <<endl;
cmd.setCommandText(s.c_str());
cmd.Execute();



i need to insert pathname like "E:\Education\hello.txt" in mysql but the erorr UNKNOWN COLUMN 'ENULL' IN 'FIELD LIST' appeared.

pls help me to solve this problem.

i'll very appreciate any help given..
thank you

Options: ReplyQuote


Subject
Written By
Posted
UNKNOWN COLUMN 'ENULL' IN 'FIELD LIST'
March 17, 2005 04:45AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.