squirleegirl
Programmer
Hi ~ I have a query that I want to format the columns.
Instead of this:
1 Data1 Date
2 Data1 Date
3 Data2 Date
4 Data2 Date
I would like this:
Data1 1 Date
2 Date
Data2 3 Date
4 Date
The Oracle statement is 'break on [columnname];' But, unfortunately I am not using Oracle ~ I am using MS Sql Server.
Does anyone know what the command for SQL Server is or another method that will format the output like I need it?
Thanks,
Squirleegirl
Instead of this:
1 Data1 Date
2 Data1 Date
3 Data2 Date
4 Data2 Date
I would like this:
Data1 1 Date
2 Date
Data2 3 Date
4 Date
The Oracle statement is 'break on [columnname];' But, unfortunately I am not using Oracle ~ I am using MS Sql Server.
Does anyone know what the command for SQL Server is or another method that will format the output like I need it?
Thanks,
Squirleegirl