Mysql Unknown column in field list but column exists
nova37 8 Years Ago am doing project in c++ using mysql api i have update query like that q2<<"UPDATE `dorder` set `ddown_status`= 1 WHERE `Machine ID`= "<<"'"<but when i execute it , its says Unknown column 'ddown_status' in 'field list' but ddown_status coloumn already exisits in dorder table , mysql 0 Votes Up 0 Votes Down Recommended Answers
radhakrishna.p 298 Years Ago hai darkc99 please check whether these two columns ddown_status , Machine ID are existed in your database table dorder or not if not matched replace with exact column names check it once and let me know the status 0 Votes Up 0 Votes Down RvSon -38 Years Ago HI, 0 Votes Up 0 Votes Down nova37 8 Years Ago ya machine id coloumn also exists and ddown_status too you can see my another query with machine id works fine 0 Votes Up 0 Votes Down radhakrishna.p 298 Years Ago hai darkc99, can you post the table structure and code once here? so that we will try to help you out in this regard 0 Votes Up 0 Votes Down |