ASKER
ASKER
ASKER
UPDATE LABOR_TICKET SET RESOURCE_ID = '1100' WHERE RESOURCE_ID = '110'
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
IF EXISTS ( SELECT * FROM INSERTED I, DELETED D WHERE I.ROWID = D.ROWID AND
( I.TYPE != D.TYPE
OR I.WORKORDER_TYPE != D.WORKORDER_TYPE
OR I.WORKORDER_BASE_ID != D.WORKORDER_BASE_ID
OR I.WORKORDER_LOT_ID != D.WORKORDER_LOT_ID
OR I.WORKORDER_SPLIT_ID != D.WORKORDER_SPLIT_ID
OR I.WORKORDER_SUB_ID != D.WORKORDER_SUB_ID
OR I.OPERATION_SEQ_NO != D.OPERATION_SEQ_NO
OR I.EMPLOYEE_ID != D.EMPLOYEE_ID
OR I.RESOURCE_ID != D.RESOURCE_ID ))
SELECT @nRcd = 31028
END
ASKER
ASKER
Microsoft SQL Server is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.SQL Server is available in multiple versions, typically identified by release year, and versions are subdivided into editions to distinguish between product functionality. Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning.
TRUSTED BY