Add a connection to a DB2 database.
添加db2数据库连接。
Prepare the DB2 database environment
准备DB2数据库环境
Step 1: Prepare the DB2 database environment.
步骤1:准备DB 2数据库环境。
Connect to a DB2 database from a.net application.
从. NET应用程序中连接到DB 2数据库。
Now let's test the connection to the DB2 database.
现在我们测试到DB 2数据库的连接。
Use JDBC to read and update data in a DB2 database
使用JDBC读取和更新DB2数据库中的数据。
Figure 3 shows an example IBM DB2 database trigger.
图3显示了示例IBMDB 2数据库触发器。
Use ADO.NET to read and update data in a DB2 database.
使用ADO.NET读取和更新db2数据库中的数据。
Each DB2 database must have at least one single buffer pool.
每一个DB 2数据库都必须至少拥有一个缓冲池。
The server program will read a DB2 database to check the ID.
服务器程序将读取DB 2数据库中的数据来检查该ID。
But first, let? S create a small DB2 database for our sandbox.
但是,首先为我们的沙箱创建一个小的DB 2数据库。
This is a great time to go ahead and create your first DB2 database.
现在您可以开始创建第一个DB 2数据库。
To create a new DB2 database, you need to open the DB2 Command Editor.
要创建一个新的DB 2数据库,需要打开DB 2CommandEditor。
This data source points to the DB2 database from which you want to pull data.
该数据源指向您将从中获取数据的DB 2数据库。
Now, you need to prepare Microsoft Access's ability to talk to your DB2 database.
现在,您需要为MicrosoftAccess准备与DB 2数据库交谈的能力。
Suppose you want to set the CURRENT SCHEMA value for your DB2 database connection.
假设希望设置DB 2数据库连接的CURRENTschema值。
The DB2 database connection information is defined in the persistence.xml shown earlier.
DB 2数据库的连接信息被定义在之前展示的persistance . xml文件中。
Let's try synchronizing our sample address book application with the source DB2 database.
让我们尝试使样本地址簿应用程序与源db2数据库同步。
Customer information (customer) : This will reside on the customer table in DB2 database.
客户信息(customer):这些信息保存在DB 2数据库中的customer表中。
Bind the sqlpltrc.bnd file to the database: db2 bind sqlpltrc.bnd.
将sqlpltrc .bnd文件绑定到该数据库。
Create the EMPLOYEE database: db2 create database EMPLOYEE.
创建EMPLOYEE数据库:db 2createdatabase EMPLOYEE。
Create the MASTER database: db2 create database MASTER.
创建MASTER数据库:db 2createdatabase MASTER。
In this sample scenario, source and target database run within the same DB2 instance.
在这个示例场景中,源和目标数据库在同一个DB 2实例中运行。
We better start fresh with an empty DB2 UDB database.
我们最好从一个空的DB 2UDB数据库开始。
In this article you will use the DB2 sample database.
在本文中,您将使用DB 2示例数据库。
Open a DB2 command window and establish the database connection.
打开DB 2命令窗口并建立数据库连接。
The database instance name is also the DB2 instance owner ID.
数据库实例名称同时也是DB 2实例的所有者ID。
However, the term database is not the same as that used in the DB2 world.
然而,这里的术语数据库与DB2领域中使用的不同。
Table 8 shows the definition of this table when the analysis database is DB2.
表8展示了当分析数据库为DB2时,该表的定义。
To test the entire application with real database-driven events, open the DB2 command center again.
若要使用实际的数据库驱动的事件来测试整个应用程序,请再次打开DB 2命令中心。
应用推荐