| 
 
update : 2015.11.03
 
php.shukuma.com검색:
  
 | 
db2_autocommit(PECL ibm_db2 >= 1.0.0) db2_autocommit — Returns or sets the AUTOCOMMIT state for a database connection 설명Sets or gets the AUTOCOMMIT behavior of the specified connection resource. 인수
 
 반환값
   When db2_autocommit() receives only the
    
   When db2_autocommit() receives both the
    예제
 Example #1 Retrieving the AUTOCOMMIT value for a connection In the following example, a connection which has been created with AUTOCOMMIT turned off is tested with the db2_autocommit() function. 
<?php위 예제의 출력: 0 -- AUTOCOMMIT is off. Example #2 Setting the AUTOCOMMIT value for a connection In the following example, a connection which was initially created with AUTOCOMMIT turned off has its behavior changed to turn AUTOCOMMIT on. 
<?php위 예제의 출력: Turning AUTOCOMMIT on succeeded. 1 -- AUTOCOMMIT is on. 참고
 
  |