shaileshpatil
03-05-2009, 11:36 AM
Hi experts
I have a problem retireving columns from MSSQL database. Column names appear trimmed in array..
I am using pear DB on windows.
for eg.
$sql="Exec dbo.up_parmsel_projects ";
$arr=$db->getAll($sql,DB_FETCHMODE_ASSOC);
Array ( [Project_ID] => 1234 [CertificateCrLfsAfterAnnexIntr] => 1 [CertificateCrLfsAfterProducts_] => 10 )
see the columns "CertificateCrLfsAfterAnnexIntr" and "CertificateCrLfsAfterProducts_" these are incomplete names. On linux it works perfectly fine, without any problems.
What could be the cause and solution for this wierd problem
I have a problem retireving columns from MSSQL database. Column names appear trimmed in array..
I am using pear DB on windows.
for eg.
$sql="Exec dbo.up_parmsel_projects ";
$arr=$db->getAll($sql,DB_FETCHMODE_ASSOC);
Array ( [Project_ID] => 1234 [CertificateCrLfsAfterAnnexIntr] => 1 [CertificateCrLfsAfterProducts_] => 10 )
see the columns "CertificateCrLfsAfterAnnexIntr" and "CertificateCrLfsAfterProducts_" these are incomplete names. On linux it works perfectly fine, without any problems.
What could be the cause and solution for this wierd problem