Hi everybody,
I’m doing some reports in coldfusion with sql server backend. I’m trying to create a template for displaying the reports. What I want to do is that when I write the queries in sql server count the number of fields in the select statement and use that for the number of columns and get the alias(the As statement) to use as the name of the column in coldfusion. Counting the number of fields and columns shouldn't be a big problem but has anybody ever done or has any idea of how to get the alias for column title in coldfusion?
I’m doing some reports in coldfusion with sql server backend. I’m trying to create a template for displaying the reports. What I want to do is that when I write the queries in sql server count the number of fields in the select statement and use that for the number of columns and get the alias(the As statement) to use as the name of the column in coldfusion. Counting the number of fields and columns shouldn't be a big problem but has anybody ever done or has any idea of how to get the alias for column title in coldfusion?