⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viw_price_chg_log.sql

📁 工厂采购系统,DELPHI+SQL SERVER,三层技术
💻 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 + -