INSERT INTO  news(topic,text,althor,time) VALUES('dasdasdasd','<p>dasdas das</p>','das','2010-10-20 0:10:26')
 错误在哪?我的数据库的结构是: 编号 :自动编号
                     topic:文本
                    text:备份
                     althor:文本
                      time:文本

解决方案 »

  1.   

    INSERT INTO news(topic,[text],althor,[time]) VALUES('dasdasdasd','<p>dasdas das</p>','das','2010-10-20 0:10:26')这样呢?
      

  2.   

    将SQL语句放在查询分析器中执行一上
    查看提示什么错误
      

  3.   

    lz 错误信息是什么,
    text,time 都是关键字,要用的话要加上[text][time]
      

  4.   

    养成良好的mssql的习惯,所有字段加上中括号[]INSERT INTO news([topic],[text],[althor],[time]) VALUES('dasdasdasd','<p>dasdas das</p>','das','2010-10-20 0:10:26')如上面所说. text 和 time 是关键字. 
    不能直接使用.要加括号.
      

  5.   

    错误提示啊!!!没错误提示  SQL语句没啥错的   
      

  6.   

    看你数据库表的设计吧!是类型不对插入不进,还是长度不够sql语句没有问题