📄 viw_price_chg_log.sql
字号:
if object_id('dbo.Viw_Price_Chg_Log') is not null
drop view dbo.Viw_Price_Chg_Log
go
create view Viw_Price_Chg_Log
as
select (select count(*) from po_price_log
where hpn = a.hpn and modify_dt <=modify_dt) as Item,
a.HPN,a.Status,a.Old_Price,a.New_Price,a.modify_dt,a.modified_by
from po_price_log a
/*
select * from Viw_Price_Chg_Log
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -