我想在某个数据库中创建存储过程的列表。我试过了
db2 "display procedure MyDb.*"
但我得到错误
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0104N An unexpected token "procedure" was found following "display ".
Expected tokens may include: "JOIN <joined_table>". SQLSTATE=42601
在另一个论坛中,我读到我必须查询表格syscat.procedures
但如果我打电话
db2“从 syscat.procedures 中选择 *”
我得到了很多我无法真正理解的数据。