|
cubrid_next_result(PECL CUBRID >= 8.4.0) cubrid_next_result — Get result of next query when executing multiple SQL statements Описание
bool cubrid_next_result
( resource $result
)
The cubrid_next_result() function is used to get results of next query if multiple SQL statements are executed and CUBRID_EXEC_QUERY_ALL flag is set upon cubrid_execute(). Возвращаемые значенияTRUE, when process is successful. FALSE, when process is unsuccessful. ПримерыПример #1 cubrid_next_result() example
<?php Результат выполнения данного примера: ------------ get_result_info -------------------- Row count: 6 Column count: 2 Column Names Column Types Column Len ------------------------------------------------------------------------------ s_name char(1) 1 f_name varchar(6) 6 Last Column Name: f_name Last Column Table: code Last Column Type: varchar(6) Last Column Len: 6 Second Column Flags: ------------ get_result_info -------------------- Row count: 4 Column count: 5 Column Names Column Types Column Len ------------------------------------------------------------------------------ event_code integer 11 athlete varchar(40) 40 host_year integer 11 score varchar(10) 10 unit varchar(5) 5 Last Column Name: unit Last Column Table: history Last Column Type: varchar(5) Last Column Len: 5 Second Column Flags: not_null primary_key unique_key |
|