sql Reprocessar loja - Remarcação

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sql Reprocessar loja - Remarcação相关的知识,希望对你有一定的参考价值。

declare @retailstoreid varchar(18);


set @retailstoreid = 'S1224';

update stra.itempricechange
set integrationStatus = 'A'
where itempricechangeid in (
select itempricechangeid from stra.itempricechange 
where itemid not in (select itemid from tm.taskitem where taskid > (select MIN(taskid) from tm.task where pricechangedate > GETDATE() - 1 and actionid = 14 and retailstoreid = @retailstoreid) and retailstoreid = @retailstoreid and actionid = 14) 
and pricechangedate > getdate() - 1
and isemergencialtask = 0
and retailstoreid = @retailstoreid)

truncate table stra.itempricechangecontrol

USE [MRS_InStore_GPA_PLT]
GO

DECLARE @return_value int

EXEC @return_value = [dbo].[PriceChangeIntegrationProcess]

SELECT 'Return Value' = @return_value

GO

以上是关于sql Reprocessar loja - Remarcação的主要内容,如果未能解决你的问题,请参考以下文章

sql Alterar loja de alerta configurado #tags:saas,alertas

html Loja Touch手表 - Grupo Technos

html Ajustes,estrelas e SEO na loja Lekssa

json 感觉pesquisar sku e loja q chegaram GPA na API MRS

用数组查询获取api

R:使用 R 更新 SQL 表循环