摘要: declare @defaultGroup int select top 1 @defaultGroup=isnull([InvoiceGroup],0) from #t1 where ItemType=2 print @defaultGroup 我原来以为,如果#t1里面没有ItemType=2的 阅读全文
posted @ 2025-12-05 11:03 老飞飞 阅读(6) 评论(0) 推荐(0)