2008-09-12 12:51:56 +04:00
|
|
|
<?php
|
|
|
|
|
2009-01-22 22:38:10 +03:00
|
|
|
namespace Doctrine\DBAL\Platforms;
|
2008-09-12 12:51:56 +04:00
|
|
|
|
2009-01-22 22:38:10 +03:00
|
|
|
class Db2Platform extends AbstractPlatform
|
2008-09-12 12:51:56 +04:00
|
|
|
{
|
|
|
|
|
|
|
|
public function getSequenceNextValSql($sequenceName) {
|
|
|
|
return 'SELECT NEXTVAL FOR ' . $this->quoteIdentifier($sequenceName)
|
|
|
|
. ' FROM SYSIBM.SYSDUMMY1';
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|