使用存储过程来控制数据访问。
接下来我们使用存储过程
为了使用存储过程,我们需要连接到Sybase服务器。
To use the stored procedure, we need to connect to the Sybase server.
第二种做法已经被证明是卓有成效的,那就是使用存储过程
要想像报告处理中的一个表那样使用此存储过程,这非常必要。
This is necessary to use the stored procedure like a table in the report tooling.
使用一个存储过程捕捉基线数据。
不管您决定使用哪种方法,快速存储过程现在已经完成——恭喜!
Whichever method you decide to use, the flashing process is now complete — congratulations!
DB2有一个“CALL”命令,可以使用它调用任何存储过程。
DB2 has a "CALL" command that you can use to invoke any stored procedure.
如果您使用时间戳或存储过程冲突解决。
If you are using timestamp or stored procedure conflict resolution.
请使用下面的SQL 语句来注册这个示例存储过程。
Use the following SQL to register the example stored procedure.
对于灾难恢复,建议使用标准的数据库备份和存储过程。
For disaster recovery, standard database backup and restore procedures are advised.
存储过程结果集使用。
为数据访问使用参数化集合的存储过程。
Use stored procedures with the Parameters collection for data access.
首先,我们来看一看将要使用的存储过程(sp _ tables)。
First, we'll look at the stored procedure (sp_tables) that we are going to work with.
使用格式cstmt.setString("arg",name); 命名参数,其中 arg是相应的存储过程中的参数名称。
where arg is the name of the argument in the corresponding stored procedure.
调用存储过程时使用参数集合。
Use the Parameters collection when you call a stored procedure.
如何使用如果在存储过程呢?
其中使用了一个存储过程来完成读取sitelist。
其中使用了一个存储过程来完成读取sitelist。
应用推荐