<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.17023" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Package: php5-odbc</DIV>
<DIV>Version: PHP 5.2.6-1+lenny8</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am experiencing the same issue when querying tables&nbsp;on a SQL Server 9.0.4053 (SQL Server 2005).</DIV>
<DIV>&nbsp;</DIV>
<DIV>SELECT ID, Column AS alias FROM Table;<BR><BR>Returns:<BR><BR><FONT face=Courier>ID | Column<BR>-----------<BR>1&nbsp;&nbsp;|&nbsp; value</FONT></DIV>
<DIV><FONT face=Courier>2&nbsp;&nbsp;|&nbsp; value</FONT></DIV>
<DIV><FONT face=Courier>3&nbsp; |&nbsp; value</FONT></DIV>
<DIV><FONT face=Courier></FONT>&nbsp;</DIV>
<DIV>Instead of:<BR><BR><FONT face=Courier>ID&nbsp; |&nbsp; alias</FONT></DIV>
<DIV><FONT face=Courier>------------</FONT></DIV>
<DIV><FONT face=Courier>1&nbsp;&nbsp; |&nbsp; value<BR>2&nbsp;&nbsp; |&nbsp; value<BR>3&nbsp;&nbsp; |&nbsp; value</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>