有没有人用过sqlite?关于'table' has no column named 'column'

gn19999 2011-01-31 09:07:35
有没有人用过sqlite?关于'table' has no column named 'column'
插入数据的时候报上边的错。
问题是我明明有这一列。直接在sqlite devoloper里执行都没问题。

Create TABLE category(
[id] integer PRIMARY KEY AUTOINCREMENT NOT NULL
,[parent_id] int NOT NULL
,[single] bit NOT NULL
,[name] varchar(500) NOT NULL
,[position] integer NOT NULL
,[summary_len] integer NOT NULL
,[pagesize] integer NOT NULL
,[index_template] varchar(500) NOT NULL
,[list_template] varchar(500) NOT NULL
,[content_template] varchar(500) NOT NULL
,[save_path] varchar(500) NOT NULL
,[path_format] varchar(500) NOT NULL
,[exten_field] text
,[exten_data] text

);

insert into category(parent_id,single,name,position,summary_len,pagesize,index_template,list_template,content_template,save_path,path_format,exten_field,exten_data)values(0,1,'wewe',0,100,20,'index.php','list.php','content.php','wewe','{id}.html','','');



哪个朋友试一下?
...全文
2581 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
guohaolin506 2012-03-16
  • 打赏
  • 举报
回复
同求,怎么更新修改后的数据库啊
xianbinglilun 2011-05-04
  • 打赏
  • 举报
回复
请问怎么更新修改后的数据库呢?
gn19999 2011-01-31
  • 打赏
  • 举报
回复
用错数据库了。改过数据库没覆盖。我晕。。。粗心了。
wuyq11 2011-01-31
  • 打赏
  • 举报
回复
删除一些列,试试
加[]
Table of Contents • Index • Reviews • Reader Reviews • Errata • Academic Python Cookbook, 2nd Edition By David Ascher, Alex Martelli, Anna Ravenscroft Publisher : O'Reilly Pub Date : March 2005 ISBN : 0-596-00797-3 Pages : 844 Copyright Preface The Design of the Book The Implementation of the Book Using the Code from This Book Audience Organization Further Reading Conventions Used in This Book How to Contact Us Safari® Enabled Acknowledgments Chapter 1. Text Introduction Recipe 1.1. Processing a String One Character at a Time Recipe 1.2. Converting Between Characters and Numeric Codes Recipe 1.3. Testing Whether an Object Is String-like Recipe 1.4. Aligning Strings Recipe 1.5. Trimming Space from the Ends of a String Recipe 1.6. Combining Strings Recipe 1.7. Reversing a String by Words or Characters Recipe 1.8. Checking Whether a String Contains a Set of Characters Recipe 1.9. Simplifying Usage of Strings' translate Method Recipe 1.10. Filtering a String for a Set of Characters Recipe 1.11. Checking Whether a String Is Text or Binary Recipe 1.12. Controlling Case Recipe 1.13. Accessing Substrings Recipe 1.14. Changing the Indentation of a Multiline String Recipe 1.15. Expanding and Compressing Tabs Recipe 1.16. Interpolating Variables in a String Recipe 1.17. Interpolating Variables in a Stringin Python 2.4 Recipe 1.18. Replacing Multiple Patterns in a Single Pass Recipe 1.19. Checking a String for Any of Multiple Endings Recipe 1.20. Handling International Text with Unicode Recipe 1.21. Converting Between Unicode and Plain Strings Recipe 1.22. Printing Unicode Charactersto Standard Output

62,238

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧