Viewing 4 posts - 1 through 4 (of 4 total)
Thanks...and yes it is a bunch of records with insert into...select from..
Cool, I'll try to use the temp table approach to find it out...
many thanks
Cheers
December 22, 2005 at 6:24 am
Thanks a lot for the input....just a small additional question...why the division by 13 ??
HAVING COUNT(DISTINCT [Transaction]) = ' +
CAST((LEN(@instr)-LEN(REPLACE(@instr,'[Transaction]','')))/13 as varchar)
John
November 15, 2005 at 8:11 am
Venkat, the ouput should for the above example be:
ID
--
1
Since the ID=1 is the only ID that matches both my transaction types (1000 and 2000)....Note that the filter for the transaction...
November 15, 2005 at 7:02 am
Thanks for the answer..I just realized I missed to give some input...I want to dynamically build up the Where clause, that is - in the end I want to put...
November 15, 2005 at 6:49 am
Viewing 4 posts - 1 through 4 (of 4 total)