text: CREATE PROCEDURE SP582(OUT MYCOUNT INTEGER) SPECIFIC SP582_128302 LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA NEW SAVEPOINT LEVEL BEGIN ATOMIC DECLARE MYVAR INT;SELECT COUNT(*)INTO MYCOUNT FROM TABLE55;SELECT COUNT(*)INTO MYCOUNT FROM TABLE147;SELECT COUNT(*)INTO MYCOUNT FROM TABLE122;SELECT COUNT(*)INTO MYCOUNT FROM VIEW42;SELECT COUNT(*)INTO MYCOUNT FROM VIEW5;SELECT COUNT(*)INTO MYCOUNT FROM VIEW34;CALL SP219(MYVAR);CALL SP288(MYVAR);CALL SP70(MYVAR);CALL SP682(MYVAR);END
  GO