SQLSERVER 2008 根据timestamp类型更新,返回影响行为0的问题
程序员文章站
2022-06-15 14:52:31
...
eg: 1、UPDATE [hz2].[dbo].[book] SET [NAME]='TEST' where [version] = CAST('0x0000000000000FA2' as binary(8)) 2、UPDATE [hz2].[dbo].[book] SET [NAME]='TEST' where [version] = CAST('0x0000000000000FA2' as timestamp) ps: 0x0000000000000FA2这
eg:
1、UPDATE [hz2].[dbo].[book] SET [NAME]='TEST' where [version] = CAST('0x0000000000000FA2' as binary(8))
2、UPDATE [hz2].[dbo].[book] SET [NAME]='TEST' where [version] = CAST('0x0000000000000FA2' as timestamp)
ps: 0x0000000000000FA2这条记录在数据库是存在的。急啊。 求解。
上一篇: JS特效——简单的匀速平移动画
下一篇: apache 禁止访问外部链接解决方法