Run db2look -d $dbname -e -a -m -o $outputfilename.
运行db2look-d $dbname -e -a -m -o $outputfilename。
Run db2 get db cfg for dbname for the database(s) and save the result.
对数据库运行db2getdbcfgfor dbname并保存结果。
Note, the syntax of the command is: catalog database dbname as aliasname on path.
注意,该命令的语法是:catalogdatabasedbnameas aliasname on path。
In some cases, you may want to pass in values to the dbserver, dbname, and unid attributes in the document tag.
在某些情况中,您可能希望为文档标签中的dbserver、dbname和unid属性传递值。
Again, please make sure you replace dbname with your database name and user1 with your username in all the listings.
请再次确保将所有清单中的dbname替换为您数据库的名称,以及将user 1替换为您的用户名。
Make sure you change the dbname in the script to the correct name for your database, and then create the users user1 and user2 before running the test.
确保您将脚本中的dbname更改为了自己数据库的名称,并在运行测试之前创建用户user1和user2。
The name of the source database itself is provided using the option DBNAME.
使用DBNAME选项提供源数据库本身的名称。
The name of the source database itself is provided using the option DBNAME.
使用DBNAME选项提供源数据库本身的名称。
应用推荐