开发者

To Use Pivot Table as View in SQL Server

开发者 https://www.devze.com 2023-02-11 07:03 出处:网络
I have got a pivot table. I prepared it 开发者_开发知识库in SQL. But I cant use this table in View. I using SQL Server 2008. See this answer to a somewhat related question:

I have got a pivot table. I prepared it 开发者_开发知识库in SQL. But I cant use this table in View. I using SQL Server 2008.


See this answer to a somewhat related question:

sql-pivoted-table-is-read-only-and-cells-cant-be-edited

You need to make the view updateable via an INSTEAD OF trigger, and there are specific conditions to using that trigger, such as the pivot-table view being fully identifiable to source record-column.

0

精彩评论

暂无评论...
验证码 换一张
取 消