Being new to SQL and being up against a deadline, I have a problem that I know is simple, but I need to get this done.
I have a procedure that outputs to a text file. The results look fine in the query analyzer, but there are no spaces between the results.
What I need is to add spaces to these columns.
Here is the select statement:
SELECT
SUM(prior_count) AS prior_count ,
SUM(adj) AS adj,
SUM(adds) AS adds ,
SUM(renewels) AS renewels,
SUM(disenr) AS disenr,
SUM(deceased) AS deceased,
SUM(xfer_in) AS xfer_in,
SUM(xfer_out) AS xfer_out,
SUM(pending) AS pending
Any quick help would be appreciated.
I have a procedure that outputs to a text file. The results look fine in the query analyzer, but there are no spaces between the results.
What I need is to add spaces to these columns.
Here is the select statement:
SELECT
SUM(prior_count) AS prior_count ,
SUM(adj) AS adj,
SUM(adds) AS adds ,
SUM(renewels) AS renewels,
SUM(disenr) AS disenr,
SUM(deceased) AS deceased,
SUM(xfer_in) AS xfer_in,
SUM(xfer_out) AS xfer_out,
SUM(pending) AS pending
Any quick help would be appreciated.