我们常用REBIND和BIND对package进行手工绑定,不同的场合用不同的命令,在信息中心里对这两个命令的解释分别如下:
REBIND command
Allows the user to recreate a package stored in the database without the need for a bind file.
BIND command
Invokes the bind utility, which prepares SQL statements stored in the bind file generated by the precompiler, and creates a package that is stored in the database.
请从原理上对这两个命令进行解释,以及他俩的区别与联系?书中说一些场合,若不bebind,DB2 还会使用原有的package包,请问是哪些场合?如果升级完数据库后,不db2rbind,是否还会使用原有的package?
收起