Create PROCEDURE [dbo].[JiuChanPinLiuTongJiLuProcess]
(
    @JiuChanPinId decimal(18,0)
)
AS
select * from (
select top 100 Percent UpdateDate 日期,''+ShouHuoName +''+ GouHuoName as 流通方式
                                  from VWJiuChanPinLiuTongJiLu where BCLiuTongLeiXingId=1 andJiuChanPinId=@JiuChanPinId order by UpdateDate)m
union  all
select * from (
select  top 100 Percent UpdateDate 日期,''+ShouHuoName+'' + GouHuoName  as 流通方式    from VWJiuChanPinLiuTongJiLu where BCLiuTongLeiXingId=2 andJiuChanPinId=@JiuChanPinId  order by UpdateDate)n
go

相关文章:

  • 2022-12-23
  • 2021-04-29
  • 2021-04-25
  • 2022-01-06
  • 2021-07-05
  • 2022-01-03
猜你喜欢
  • 2022-12-23
  • 2021-07-23
  • 2021-07-23
  • 2021-12-15
  • 2022-01-09
  • 2022-03-04
相关资源
相似解决方案