首先通过命令将要执行的命令提取出来,再执行。如下
- db2 "select 'db2 grant control on table [Tablespace].'|| tabname ||' to user UserName' from syscat.tables where tabschema='SchemaName'"
转载于:https://blog.51cto.com/ligeo5210/943291
首先通过命令将要执行的命令提取出来,再执行。如下
转载于:https://blog.51cto.com/ligeo5210/943291