经过修改连接函数,现在已经可以正常显示。
Been modified to connect function, can now be displayed properly.
原生字符串连接函数接受任意数目的参数,并将每一个参数都追加在调用函数的字符串上。
The native string concat method accepts any number of arguments and appends each to the string that the method is called on.
一旦返回一个带有我们的用户名的表清单,就可以确认连接成功,从而可以在我们编写的脚本的剩余部分重用该连接函数。
Once we have confirmed that the connection is successful by returning a list of the tables with our user name, we can re-use that connection function within the rest of the scripts that we write.
这个函数尝试关闭以前打开的数据库连接。
This function attempts to close the previously opened database connection.
该函数随后将连接到数据库中并执行此事务。
The function will then connect to the database and execute this transaction.
该函数还可以打开到主机的连接。
如果成功地连接到数据库,这个函数会返回一个连接对象,后续的数据库读写操作需要使用这个对象。
Upon successfully connecting to the database, this function returns a connection object, which is required in the subsequent database read and write operations.
如果您连接了一个分区并希望检索另一分区的有效设置,就必须在调用该表函数之前,首先连接这个新分区。
If you are connected to one partition and wish to retrieve the effective Settings for another partition, you must first connect to the new partition before invoking the table function.
如果在一个函数中打开连接,并且只将句柄存储在一个本地变量中,那么当函数返回时,连接将被关闭。
If you open the connection from within a function, and only store the variable in a local variable, the connection will be closed when that function returns.
具体地说,这里讨论连接、读、写和释放连接等数据库函数。
In particular, database functions such as connect, read, write, and release connection are covered here.
继续调用键不安全的函数,使用所设置的连接寄存器,以便被调用的函数返回下面的下一个步骤。
Proceed to call the key-unsafe function, with the link register set, so that the called function returns to the next step below.
它的参数是连接对象,它返回已经执行的函数的返回码。
It takes the connection object as a parameter and returns the return code for the function that was executed.
在受阻塞的连接中,该函数返回0,表示连接已经关闭,而-1 则表示连接出现错误。
On a blocking connection, a return of 0 means that the connection was closed, while -1 indicates that an error occurred.
TBSCAN(7)是该连接的外表,它为函数提供产品列表。
TBSCAN (7) as the outer of the join provides the list of items to the function.
从上述代码我们可以看到,这就是将logQPushButton的clicked信号连接到新函数的事情。
From there it's just a matter of connecting the log QPushButton's clicked signal to the new function.
如果无法建立数据库连接,那么这个函数返回false。
If the database connection attempt failed, then this function returns false.
get _ files函数连接到文件表并检索与给定用户相关联的文件行。
The get_files function connects to the files table and retrieves the file rows associated with the given user.
此脚本首先包含helper函数并连接数据库,然后执行两条sql语句。
This script starts by including the helper function and connecting to the database. It then executes two SQL statements.
如果需要关闭连接的读取部分,则soshutdown函数调用sorflush 。
If the read half of the connection needs to be shutdown, the soshutdown function calls sorflush .
dbHandle—用于管理到数据库的连接的函数。
DbHandle - a function used to manage our connection to the database.
build_answers函数首先连接至数据库执行SQL查询来获取指定调查的答案。
The build_answers function first USES the database connection to SQL query to get the answers for the specified poll.
使用php中的odbc_connect函数建立一个连接。
Establish a connection using the odbc_connect function in PHP.
使用PHP,可以使用带有清单1中所示的参数的db 2 _ connect函数连接至db2。
With PHP, use the db2_connect function to connect to db2 with the parameters shown in Listing 1.
用于使用OLEDBAPI连接到数据源的函数。
Functions for connecting to data sources using the OLE DB API.
由于MapPoint数据可以是本地数据,故它有无需网络连接的完整地图函数。
The entire mapping functionality is available without a network connection, because the MapPoint data can be local.
show函数连接到ByName和By Score链接,首先使所有列表均不可见,随后使所选列表可见。
The show function connected to the By Name and By Score links first makes all the lists invisible, then makes the selected list visible.
类似地,第二行把cb _ button_click函数连接到button对象的clicked信号。
Similarly, the second line connects the cb_button_click function to the clicked signal on the button object.
accept _ callback:当接受连接时,事件系统调用此函数。
Accept_callback : the function called by the event system when a connection is accepted.
get_user函数连接到包含用户表的数据库并检索给定用户的ID。
The get_user function connects to the database that contains the users table and retrieves the ID for a given user.
odbc函数有4种主要类型:用于连接、查询、提取数据和错误报告的函数。
There are four main types of ODBC functions: functions for connection, querying, fetching data, and error reporting.
应用推荐