db2 snapshot

1. open cmd
2. execute command "db2cmd"
3. set trace on:
    db2 update monitor switches using statement on
4. get snapshot:
    db2 get snapshot for dynamic sql on "database name" >> "d:\sql.txt"
5. set trace off:
    db2 update monitor switches using statement off

你可能感兴趣的:(sql,db2)