I would like to select detailed information from a table. As part of the result set I would also like the total number of rows in the result set. See example below.
Is this possible to do this in a single pass?
Desired result set:
Table_1.Column_1 Table_1.Column_2 Table_1.Column_3 5 Rows Returned
Table_1.Column_1 Table_1.Column_2 Table_1.Column_3 5 Rows Returned
Table_1.Column_1 Table_1.Column_2 Table_1.Column_3 5 Rows Returned
Table_1.Column_1 Table_1.Column_2 Table_1.Column_3 5 Rows Returned
Table_1.Column_1 Table_1.Column_2 Table_1.Column_3 5 Rows Returned
Thanks in advance for any help.
Is this possible to do this in a single pass?
Desired result set:
Table_1.Column_1 Table_1.Column_2 Table_1.Column_3 5 Rows Returned
Table_1.Column_1 Table_1.Column_2 Table_1.Column_3 5 Rows Returned
Table_1.Column_1 Table_1.Column_2 Table_1.Column_3 5 Rows Returned
Table_1.Column_1 Table_1.Column_2 Table_1.Column_3 5 Rows Returned
Table_1.Column_1 Table_1.Column_2 Table_1.Column_3 5 Rows Returned
Thanks in advance for any help.