24 lines
1.2 KiB
Transact-SQL
24 lines
1.2 KiB
Transact-SQL
USE [MoonPro_IOB_ISF_PAMA]
|
|
GO
|
|
/****** Object: StoredProcedure [dbo].[stp_ImportAll] Script Date: 15/03/2023 11:50:14 ******/
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
ALTER PROCEDURE [dbo].[stp_ImportAll]
|
|
AS
|
|
BEGIN
|
|
-- SET NOCOUNT ON added to prevent extra result sets from
|
|
-- interfering with SELECT statements.
|
|
SET NOCOUNT ON;
|
|
|
|
-- Effettua tutti i task di import
|
|
EXEC dbo.stp_GetMachineSigLog
|
|
EXEC dbo.stp_GetMachineFluxLog
|
|
EXEC dbo.stp_GetMachineProdData
|
|
|
|
-- ...e poi restituisce lettura tabella SyncState
|
|
SELECT *
|
|
FROM SyncState
|
|
|
|
END |