June 29, 2007 at 3:54 am
June 29, 2007 at 12:06 pm
July 2, 2007 at 6:20 am
I like this approach: In the stored procedure, DECLARE a temp table and fill it by SELECTING the first set of records (A), then UNION that recordset to a second temp table SELECTING the second set of records (B), then return that UNIONed recordset. Be sure to SET NOCOUNT ON in the stored procedure.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply