Hi,
I need to retrieve a set of results:
SELECT BatchID, FNum, FName FROM table WHERE ORDER = 2
But also:
SELECT Count(BatchID) As bCnt FROM table WHERE Order = 2
Can I stick this all into one sql statement (Im using a datareport designer in VB6 and need it condensed to one statement)
Any advice would be great or even alternate options I could use.
Cheers
I need to retrieve a set of results:
SELECT BatchID, FNum, FName FROM table WHERE ORDER = 2
But also:
SELECT Count(BatchID) As bCnt FROM table WHERE Order = 2
Can I stick this all into one sql statement (Im using a datareport designer in VB6 and need it condensed to one statement)
Any advice would be great or even alternate options I could use.
Cheers