I am creating a view which will be a join of a few tables that I have. And I need more than 14K columns in my view to write where clause. I am not sure about the maximum numbers of columns in a SQL Server view.
Let's say I have two entities, entity A and entity B. Now Entity A can have multiple value for B
Like
A.id, B.id, Value
(A1 , B1 , 5)
(A1 , B2 ,6)
(A1 ,B3 ,7)
(A2 ,B2 ,7)
(A2 , B1 ,8)
(A2 , B3 , NULL)
(A1 , B4 , NULL )
I want list of A's where B1 is 5 and B2 is 6.
BTW my B table has 14K records.
根据微软的说法,4,096是答案。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.