Example #1
0
 public function testStatementBindParamByPosition()
 {
     $products = $this->_db->quoteIdentifier('zfproducts');
     // Make IDENTITY column accept explicit value.
     // This can be done in only one table in a given session.
     $this->_db->getConnection()->exec("SET IDENTITY_INSERT {$products} ON");
     parent::testStatementBindParamByPosition();
     $this->_db->getConnection()->exec("SET IDENTITY_INSERT {$products} OFF");
 }