我下面的代码,但它给出了一个错误,请指导我如何嵌套if..begin..begin__tran__Rollback或承诺 declare @acname as varchar(max),
@gstcount as int
set @acname='Party1'
use TESTDB
set @gstcount = (select count(GSTIN) from M_ST
I want same output shown in Output table. I have TableA and I want to pivote it and want output table as shown in image. Thanks 枢轴表我有一个表#tableA +-----+-------------+-------+------------+
| A | Alloca