Various settings for compatibility with MSSQL

This commit is contained in:
Hector Cortez
2011-01-06 14:14:50 +00:00
parent cad4a0d9e7
commit 41d3bfa8f7
2 changed files with 4 additions and 1 deletions

View File

@@ -78,6 +78,8 @@ class AppDelegation extends BaseAppDelegation {
$c->addSelectColumn ( 'MAX(' . AppDelegationPeer::DEL_INDEX . ') ' );
$c->addSelectColumn ( AppDelegationPeer::DEL_STARTED );
$c->add ( AppDelegationPeer::APP_UID, $sAppUid );
///-- Group by DEL_STARTED, Adjustment for standardization (SQL)
$c->addGroupByColumn(AppDelegationPeer::DEL_STARTED);
$rs = AppDelegationPeer::doSelectRS ( $c );
$rs->next();
$row = $rs->getRow();