Fixes issue #98 https://github.com/yiisoft/yii/issues/98 along with the problem that no identity value is returned on certain occasions (for example Active Record usage) see http://www.yiiframework.com/forum/index.php/topic/24275-solved-sql-server-2008-returning-blank-lastinsertid/ for further discussion. Solution has been tested and is in live production for quite some time.
Fixes issue #98 https://github.com/yiisoft/yii/issues/98 along with the problem that no identity value is returned on certain occasions (for example Active Record usage) see http://www.yiiframework.com/forum/index.php/topic/24275-solved-sql-server-2008-returning-blank-lastinsertid/ for further discussion. Solution has been tested and is in live production for quite some time.

kurorido1990/dev-github,softark/yii,mqiu/yiis,longhua828/yii,longhua828/yii,longhua828/yii,mudrezzz/testphp,phoenix3008/yii,marcovtwout/yii,marcovtwout/yii,tvs-prarthana/yii,mudrezzz/testphp,YaDelivery/yii,mqiu/yiis,licailing/yii,phoenix3008/yii,lsjing/yii,dbalencar/yii,kurorido1990/dev-github,yiisoft/yii,licailing/yii,Vartacom/yii,tvs-prarthana/yii,Vartacom/yii,marcovtwout/yii,intersvyaz/yii,auburus/yii,longhua828/yii,yiisoft/yii,Infowatch/yii,tvs-prarthana/yii,sachintaware/yii,wbfree/yii-tutorial,er361/yii-zadanie-somnium,lsjing/yii,phoenix3008/yii,auburus/yii,auburus/yii,yiichina/yii,Corfiot/yii,janisto/yii,scriptius/blog,guber007/yii,makasim/PayumYiiExtensionSandbox,guber007/yii,GerrGIT/yii,janisto/yii,trewor-kapusta/yii,wbfree/yii-tutorial,mudrezzz/testphp,kurorido1990/dev-github,makasim/PayumYiiExtensionSandbox,trewor-kapusta/yii,Corfiot/yii,ImAnilChaudhari/yii,softark/yii,intersvyaz/yii,Yanan1021/yii,YaDelivery/yii,lubosdz/yii,sachintaware/yii,jackey/YiiAPI-Framework,kurorido1990/dev-github,janisto/yii,l3xthanzero/trackstar,scriptius/blog,GerrGIT/yii,ImAnilChaudhari/yii,YaDelivery/yii,er361/yii-zadanie-somnium,licailing/yii,lubosdz/yii,phoenix3008/yii,bethrezen/yii,makasim/PayumYiiExtensionSandbox,l3xthanzero/trackstar,yiichina/yii,er361/yii-zadanie-somnium,lsjing/yii,Vartacom/yii,Vartacom/yii,yiichina/yii,er361/yii-zadanie-somnium,marcovtwout/yii,licailing/yii,ImAnilChaudhari/yii,intersvyaz/yii,mudrezzz/testphp,GerrGIT/yii,makasim/PayumYiiExtensionSandbox,janisto/yii,sachintaware/yii,mqiu/yiis,lubosdz/yii,bethrezen/yii,Yanan1021/yii,Infowatch/yii,dbalencar/yii,scriptius/blog,l3xthanzero/trackstar,YaDelivery/yii,sachintaware/yii,auburus/yii,Yanan1021/yii,lsjing/yii,GerrGIT/yii,lubosdz/yii,guber007/yii,guber007/yii,dbalencar/yii,jackey/YiiAPI-Framework,ImAnilChaudhari/yii,scriptius/blog,bethrezen/yii,tvs-prarthana/yii