Fix stored backup
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,66 @@
|
||||
select * from ActType
|
||||
select * from ActList
|
||||
select * from SyncState
|
||||
select * from MesPODL_last
|
||||
select * from MesPODL_req
|
||||
|
||||
-- test scrittura PODL: OK!
|
||||
exec dbo.SyncPodlToMachine
|
||||
|
||||
exec dbo.GetMachineSigLog
|
||||
select * from SyncState
|
||||
select * from MachineSignalLog
|
||||
|
||||
/*
|
||||
truncate table MachineSignalLog
|
||||
update SyncState
|
||||
set lastidx=0
|
||||
where TableName='syn_M2ERP_MACHINE_STATE'
|
||||
*/
|
||||
|
||||
|
||||
exec dbo.GetMachineFluxLog
|
||||
|
||||
select * from syn_ERP2M
|
||||
select * from syn_M2ERP_MACHINE_STATE
|
||||
select * from syn_M2ERP_PRODORDERS
|
||||
|
||||
|
||||
select * from syn_ERP2M
|
||||
|
||||
|
||||
SELECT * FROM MachineFluxLog
|
||||
|
||||
|
||||
/*
|
||||
|
||||
drop table __MigrationHistory
|
||||
drop table ActList
|
||||
drop table ActType
|
||||
drop table MachineEventList
|
||||
drop table MachineFluxLog
|
||||
drop table MachinePODL
|
||||
drop table MesPODL_last
|
||||
drop table MesPODL_req
|
||||
drop table SyncState
|
||||
|
||||
drop PROCEDURE dbo.BackupDb
|
||||
drop PROCEDURE dbo.ExportAll
|
||||
drop PROCEDURE dbo.GetMachineEvList
|
||||
drop PROCEDURE dbo.GetMachineFluxLog
|
||||
drop PROCEDURE dbo.ImportAll
|
||||
drop PROCEDURE dbo.ResetPodlMes
|
||||
drop PROCEDURE dbo.SyncPodlToMachine
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
select * from ERP2M
|
||||
|
||||
select * from M2ERP_MACHINE_STATE where ActiveProdOrder = 'ODL0003743'
|
||||
select * from M2ERP_PRODORDERS
|
||||
|
||||
select * from M2ERP_PRODORDERS where ProdOrder = 'ODL0003743'
|
||||
Reference in New Issue
Block a user