Viewing 15 posts - 361 through 375 (of 660 total)
I got this to run in 5sec but when i hook this up to a crystal report it takes 4 min to run for the first time, 5+min in the...
July 2, 2008 at 5:49 pm
I didnt get nay reply for this..
is this kind of weired question? guys let me know if have encountered such problem.
July 2, 2008 at 2:01 pm
when i read in msdn it says
READPAST, NOLOCK, and READUNCOMMITTED are not allowed
but if i do this i get no error.
INSERT INTO table (field)
select field
FROM table2 WITH (NOLOCK).
is there...
July 1, 2008 at 11:24 am
OK I got that.
need to have count(*) after the group by column we need.
like
SELECT officename,count(*) as CountOfOffice FROM Emp
GROUP BY officename
June 30, 2008 at 5:20 pm
both temp tables already has some aggregated values in that, now am trying to group them by empid.
June 26, 2008 at 4:27 pm
NO, tht will not do.
it gives error for many columns
Column '#temp2.EmpIDis invalid in the select list because it is not contained in either an aggregate function or the GROUP BY...
June 26, 2008 at 4:16 pm
ALZDBA (6/24/2008)
So to rewrite the full query using the TT table
and then perform a union all using the full query with the...
June 24, 2008 at 2:56 pm
Viewing 15 posts - 361 through 375 (of 660 total)