CREATE DEFINER=`root`@`%` PROCEDURE `proc_passmounter`(IN susi VARCHAR(32), IN operator VARCHAR(32))
BEGIN
DECLARE palletpcb VARCHAR(64);
SELECT a.palletpcbid INTO palletpcb FROM tblpcbtrace a WHERE a.pcbid = (SELECT b.pcbid FROM view_mounter_incomplete b WHERE b.palletid = susi LIMIT 1);
UPDATE tblpcbtrace SET mountertimestamp = NOW(), mounteroperator = operator , processtoken = 'mounter' WHERE palletpcbid = palletpcb;
UPDATE tblpalletinfo SET scantoken = 'mounter' WHERE palletid = susi;
END
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.