一旦完成安装,您至少还需要创建一个数据库和一个表,以便在它们之间建立连接,并测试是否可以访问所创建表中的数据。
Once installed, you need to create at least one database and one table in order to create a connection and test to see if you can access data in the created table.
当建立一个数据库连接时,DB 2将那个连接的属性与数据库中每个可信上下文对象的定义相比较。
When a database connection is established, DB2 compares the attributes of that connection against the definitions of each trusted context object in the database.
建立一个到支持数据库的连接,提供一些访问方法来查询和更新数据库。
Establishes a connection with the support database and provides access methods to query and update the database.
至此,您已经建立了到数据库的连接,接下来需要创建一个新的开发项目。
Now that you have established a connection to your database, you need to create a new development project.
概括起来,就是打开XML模式文件,建立一个数据库连接,然后用鼠标画出从xml元素和属性到关系列之间的连接。
In a nutshell, you open the XML schema file, establish a database connection, and then use the mouse to draw connections from XML elements and attributes to relational columns.
在上一小节中,您建立了一个到数据库的连接,现在您可以重用这个连接生成一个类型树。
In the previous section, you established a connection with a database. Now you can reuse the same connection to generate a type tree.
清单4显示了一个用于建立DB 2数据库连接的方法的摘录。
Listing 4 shows an excerpt from a method that establishes a DB2 database connection.
在这个例子中,只有一个C文件被使用,但是在较大的系统中,通常是各种数据库被建立,最终连接到这个可执行文件中。
In this example, only one C file is used, but in large systems, typically various libraries are built and finally linked to build the executable file.
为了从JSP中创建数据库中的一个记录,您需要建立一个数据库连接。
In order to create a record in the database from the JSP, you need to establish a database connection.
虽然应用程序编程人员总能一一建立到各个数据源的连接,但更容易的方式还是在应用程序中只使用一个数据库连接。
While it is true that an application programmer can always establish a separate connection to each individual data source, it is much easier to have a single database connection in the application.
例如,图1中的所有应用程序请求都通过一个应用程序用户APP_USER建立的连接传播到数据库服务器。
For example, all application requests in Figure 1 are being routed to the database server through a connection established by a single application user, APP_USER.
下面的例子展示如何在一个CLI应用程序中,为用户ID“newton”建立到testdb数据库的受信任连接。
The example below shows how to establish a trusted connection for user ID "Newton" to testdb database in a CLI application.
构造函数将按照前面的描述创建一个DBManager对象以建立数据库连接,然后获得productdao类的实例。
The constructor creates a DBManager object to establish a database connection, as discussed earlier, and then acquires an instance of the ProductDAO class.
不需要结束事务,在一个单独的shell中建立第二个数据库连接并开始另一个事务。
Without ending the transaction, establish a second database connection in a separate shell and start another transaction.
我们将在该html页面中创建一个表单,以便用户使用用户ID和口令建立到后端数据库的连接。
We will create a form in this HTML page that will use the user ID and password input by the user to establish a connection to the backend database.
清单2展示了一个简单的Perl程序,它建立到数据库sample的连接,并返回今天的日期。
Listing 2 demonstrates a simple Perl program that establishes connection to the database SAMPLE and returns today's date.
不需要连接到任何数据库,就可以建立一个新的CrystalReport,因为这个Crystal Report是基于一个数据定义文件的。
A new Crystal Report will then be created without actually connecting to any database, because this Crystal Report will be based on a data definition file.
清单 7 中的 simpleQuery()方法声明几个变量,然后使用清单2中定义的helper 方法建立一个数据库连接。
The simpleQuery() method in Listing 8 declares several variables and then establishes a database connection using a helper method defined in Listing 2.
当您的客户端软件与ClearQuest测试管理服务器建立一个连接之后,您就能够建立一个到实际数据库schema的连接。
After your client software has established a connection with the ClearQuest test management server, you can set up a user to connect to the actual database schema.
在这里,为了测试对象的fdfdfd方法,我们最终需要建立一个数据库连接,给表添加一些记录,然后在测试之后清除所有这些资源。
Here, in order to test the FDFDFD method in the object, we end up needing to setup a database connection, have records in the table, and then clean up all these resources after the fact.
为了促使一个锁定超时错误发生,我们首先建立一个数据库连接,并执行一些sql语句来模拟表employee上的真实事务。
To force a lock timeout error, establish a first database connection and execute some SQL statements simulating a real transaction on the table employee.
在建立到SAMPLE数据库的连接之后,我们将通过调用另一个名为SearchEmployee的servlet来检索所有雇员的细节信息。
After the connection to the SAMPLE database is established, we are going to retrieve the details of all the employees by calling another servlet named SearchEmployee.
在事件文档检索过程中如果没有出现什么问题,则建立一个到Domino文档数据库的连接,并检索发生的事件所在的Domino文档。
If there is no failure during the retrieval of event document, establishes a connection to the Domino document database and retrieves the Domino document where the event occurred.
建立一个到支持数据库prototransdb的连接,数据库的元数据如清单2所示。
Establish a connection to the support database, called ProtoTransDB, the metadata for which is in Listing 2.
建立了一个数据库连接后,Rails在运行时为数据库中的每一行添加一个属性到该模型。
After making a database connection, Rails adds an attribute to the model — at run time — for each row in the database.
下面的代码将建立到SAMPLE数据库的连接,并返回SYSCAT模式中所有编目视图的一个列表
The following code establishes a connection to the SAMPLE database and returns a list of all the catalog views in the SYSCAT schema
第4章向您介绍了,Rails应用程序如何建立起来,以及如何将您的应用程序连接到一个数据库。
Chapter 4 tells you how Rails applications are structured and how to connect your application to a database.
在DatabasePools向导的最后一个页面中,单击TestConnection以确保连接信息是正确的并且可以建立与DB 2 Sample数据库的连接。
On the last page of the database Pools wizard, click on Test connection to ensure the connection information is correct and connection to your DB2 Sample database can be established.
建立到MySQL数据库的ODBC连接,从数据库获取给定帐户持有人的当前帐户数据,并将这些信息存储在一个关联数组中。
An ODBC connection is made to the MySQL database and the current account data for the given account holder is fetched from the database and stored in an associative array.
在VisualStudio 2005中开始一个新实例,并从ServerExplorer 中建立到DB2sample数据库的连接。
Start a new instance of Visual Studio 2005, and make a connection to the DB2 sample database from Server Explorer.
应用推荐