从表中删除和从表中删除*之间的差异

编程入门 行业动态 更新时间:2024-10-21 11:40:49
本文介绍了从表中删除和从表中删除*之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

任何人都可以解释原因 从表中删除表与删除*从sql server中的表之间的区别 先谢谢

解决方案

没有^ _ ^ 在旧版本中,只使用了表格中的delete *,但是从表格中删除(不是所有内容)毫无意义他们介绍了删除表。他们保留了旧的语法,以免破坏任何旧的脚本。 FYI:从表中删除也是有效的(和首选语法)^ _ ^

Can any one explain the reason Difference between delete from Table and Delete * from table in sql server Thanks in Advance

解决方案

There is none ^_^ In older versions only delete * from table was used, but as delete (not everything) from table made no sense they introduced delete table. They kept the old syntaxt so as not to break any older scripts. FYI: Delete From table is also valid (and the preferred syntax) ^_^

更多推荐

从表中删除和从表中删除*之间的差异

本文发布于:2023-10-27 23:15:09,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1534817.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:差异

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!