我只是在试图更新行(手动与管理工具SQL Server 2008中),我有一个错误:No Row已更新。 ....因为它包含聚合或DISTINCT子句
No rows was updated. The data in row 1 was not committed. Error Source: .Net SqlClient Data Provider. Error Message: Cannot update the view or function "viwTreeItems" because it contains aggregate or a DISTINCT clause.
我试着去更新视图好吗,但我尝试手动做...没有任何代码或东西,只是改变一个文本(这个文本是一行内的代码..但..我不认为这是probelme ...)
怎么可以我更新它?
显示您的查询请。 – hims056
SELECT * FROM viwTreeItems WHERE TIID = 403 – thormayer
请添加视图定义和示例数据 – gbn