//删除存储过程 DROP PROCEDURE IF EXISTS makeInsureAmt; //创建存储过程 DELIMITER // CREATE PROCEDURE makeInsureAmt(IN arg INT,IN arg2 INT) BEGIN DECLARE var INT; SET var=arg; WHILE var < arg2 DO INSERT INTO cic
-- 查询会话: SELECT status, type, COUNT(*) as value FROM v$session GROUP BY status, type; -- 查询资源使用情况: SELECT resource_name,current_utilization,CASE WHEN TRIM(limit_value) LIKE 'UNLIMITED' T