sql-server - 什么是 MS SQL SERVER 中的更新函数

标签 sql-server sql-server-2008

嗨,昨晚我和我的一位学长讨论了一个问题,他问了我一个问题。这真的让我感到惊讶,我真的从来没有听说过。什么是 Sql server 中的 UPDATE 函数。

我们使用的不是更新语句。

真的是sql server中的任意函数吗

UPDATE ()  

最佳答案

UPDATE() (Transact-SQL)

Returns a Boolean value that indicates whether an INSERT or UPDATE attempt was made on a specified column of a table or view. UPDATE() is used anywhere inside the body of a Transact-SQL INSERT or UPDATE trigger to test whether the trigger should execute certain actions.

关于sql-server - 什么是 MS SQL SERVER 中的更新函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14332091/

相关文章:

sql - 统计一年中每个月的记录

sql - 选择并为 2 列上具有相同值的唯一 ID 创建新 ID

sql - 在 Entity Framework 中使用更新数据库时,子查询返回超过 1 个值错误

sql - 计算一段时间后或基于辅助列的重复出现次数

sql-server - 尝试使用动态 SQL 连接 SQL Server 2008 中的列名

sql-server - MSSQL 2008 R2 : Selecting one duplicate columns once and rest of the columns comma separated

mysql - SQL 不会将查询排队到链接服务器

c# - SQL Server中的存储过程;语法错误

sql - 通过存储过程将数据插入SQL后返回字符串

sql-server - 从 SQL Server 2008 生成 xml