Newly added column is not visible

可紊 提交于 2019-12-23 15:46:32

问题


I am using xampp on localhost. I created a table and then altered it, adding one more column after some time. The newly added column is not visible when I browse the table data, but it is when I see the table structure. Why can't I see it in the table data?

I am using the portable package of xampp. Also, queries regarding to that column are running fine.


回答1:


I got a way for that:

  • Export the table that is not showing a particular column on browsing
  • Drop the table
  • Import it



回答2:


I had a similar problem. I went to the "Operations" tab and copied the table to another database, and then I could drop the original table and copy back, or just switch the code. I have my database connections all set with one variable, so changing the code is really easy for me personally. Hope it helps! (Posting this again, incase anybody else is having this problem, as it really was a nuisance for me.)



来源:https://stackoverflow.com/questions/14030915/newly-added-column-is-not-visible

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!