本文介绍了更新包含timestamp列的SQL2005表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望我有这个问题的正确论坛。我有一个现有的Windows

应用程序,它使用SQL Server数据库和存储过程。我现在开发一个Web应用程序来使用相同的数据库。


原始的更新和删除SP'都使用时间戳来获得concurreny

检查。


我试图从我的sqlDataSource使用相同的更新SP,但我保持

收到以下错误:


操作数类型冲突:sql_variant与时间戳不兼容


有人可以帮忙吗?


-

Mal Ball

I hope I have the right forum for this question. I have an existing Windows
application which uses a SQL Server database and stored procedures. I am now
developing a web application to use the same database.

The original Update and Delete SP''s all use a timestamp for concurreny
checking.

I am trying to use the same Update SP from my sqlDataSource but I keep
getting the following error:

Operand type clash: sql_variant is incompatible with timestamp

Can anyone help please?

--
Mal Ball

推荐答案





这篇关于更新包含timestamp列的SQL2005表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 00:11