SQL数据库中的Rowverion [英] Rowverion in SQL database

查看:74
本文介绍了SQL数据库中的Rowverion的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我问这个问题,知道这可能是错的



i知道行版本的概念知道行更新

我知道你不能设置行版本的值,因为它是自动生成的



但有没有办法在进行特定更新时禁用行版本更新

i意味着SQL中的任何参数都应设置为关闭以禁用

行版本更新



我尝试了什么:



i我试图阻止行版本更新

解决方案

< blockquote>不,你不能。

它表示行已经改变,以及何时:它不能暂时禁用或者使它几乎无用。


i am asking this question knowing that it is maybe wrong

i know the concept of row version to know that a row is updated
and i know that you cant set a value of a row version because it is automatically generated

but is there any way to disable row version update when doing a specific update
i mean is there any parameter in SQL that should be set to off to disable
row version update

What I have tried:

i am trying to prevent row version update

解决方案

No, you can't.
It's there to indicate that the row has changed and when: and it can't be disabled temporarily or that would render it pretty much useless.


这篇关于SQL数据库中的Rowverion的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆