获取数据库中存储过程名 This example retrieves the names of all stored procedures in a database. try { // Get database metadata DatabaseMetaData dbmd = connection.getMetaData(); // Get all stored procedures in any schema and catalog ResultSet resultSet = dbmd.getProcedures(null, null, "%"); // Get stored procedure names from the result set while (resultSet.next()) { String procName = resultSet.getString(3); } } catch (SQLException e) { }
获取数据库中存储过程名
最新推荐文章于 2021-11-26 17:16:33 发布