您的位置:首页 > 数据库 > MySQL

mysql、mssql、access中的delete比较

2009-02-11 16:43 211 查看
mssql中:delete from test where id=1 与 delete test where id=1是一样的mysql中:只能用delete from test where id =1否则:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where id=1 at line 1同样还要注意一点:在开发中比如:vb+access中嵌入SQL语句进行删除时,也要写成:delete from test where id=1。不然,也是无法删除的。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: