Konwertuj kwerendę krzyżową programu Access na T-SQL (SQL Server)
Mam następujące zapytanie krzyżowe w programie Access:
Transform Count(1) as Count
Select Cust,[Cust#],EntryDate,CloseDate
from Tbl1,Dates
where EntryDate>=[start date]
Group by Cust,[Cust#],EntryDate,CloseDate
Order by EntryDate
Pivot Quote;
Mam problem z konwersją tego na T-SQL. Czy należy użyć SSIS dla transformacji Pivot, aby rozwiązać ten problem, czy mamy do tego odpowiednik zapytania SQL Server?