DataSet TableAdapter throwing OVER SQL construct or statement not supported

后端 未结 2 1761
攒了一身酷
攒了一身酷 2021-01-22 18:38

I have a t-sql query written with this sample help.

SELECT  t.gName AS \'Product\'
, isnull(SUM(CASE WHEN t.Col = 1 THEN t.Quantity END),0) AS \'180ml\'
, isnull(         


        
2条回答
  •  渐次进展
    2021-01-22 19:33

    I would put this SQL in to a Stored Procedure or a View. You can then populate your DataSet from there.

提交回复
热议问题