markTestSkipped($this->getDriver() . ' does not support meta data.'); } public function testStatementExecuteWithParams() { $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::testStatementExecuteWithParams(); $this->_db->getConnection()->exec("SET IDENTITY_INSERT $products OFF"); } 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"); } public function testStatementBindParamByName() { $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::testStatementBindParamByName(); $this->_db->getConnection()->exec("SET IDENTITY_INSERT $products OFF"); } public function testStatementBindValueByPosition() { $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::testStatementBindValueByPosition(); $this->_db->getConnection()->exec("SET IDENTITY_INSERT $products OFF"); } public function testStatementBindValueByName() { $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::testStatementBindValueByName(); $this->_db->getConnection()->exec("SET IDENTITY_INSERT $products OFF"); } public function getDriver() { return 'Pdo_Mssql'; } }