Viewing 15 posts - 16 through 30 (of 34 total)
Matt Wilhoite (11/9/2009)
November 9, 2009 at 4:12 pm
Matt Wilhoite (11/9/2009)
November 9, 2009 at 11:33 am
arun.sas (11/6/2009)
Sharul Nizam (11/6/2009)
--BusN may be same may be not, TTime always unique
--TripDte always same, TTID sometime no value sometime have value
--SeatN...
November 8, 2009 at 5:57 am
arun.sas (11/6/2009)
Sharul Nizam (11/6/2009)
is that true?Hi,
NO, group by all columns gives difference count in the above case; post your full table with sample data may give some clarity.
My table and...
November 6, 2009 at 7:49 am
arun.sas (11/6/2009)
Hi,Try this
select t1.TrnxID,strPosi,posi,count(posi)coun
from
@tPosiHdr t1 left outer join @tPosiDtl t2
on t1.TrnxID=t2.TrnxID
and t1.strPosi <> t2.Posi
group by t1.TrnxID,strPosi,posi
My origin table as follow,
-- TrnxID in @tPosiHdr is unique
declare @tPosiHdr TABLE (
TrnxID int...
November 6, 2009 at 3:24 am
Kindest Mr. Anirban Paul and Mr. John Mitchell ,
Tq to both of you. Really appreciate it.
May 7, 2008 at 4:52 am
If divide table into more table, is that affect the performance? It is because if we're running the queries, it will cost more join table. More inner join we're using,...
May 7, 2008 at 1:20 am
How i can avoid using table variable for boost the performance?
October 19, 2006 at 2:19 am
Hi,
I did'nt understand the statement,
INSERT @t
SELECT 'KL202', 'JPJ' UNION ALL
SELECT 'KL202', 'JPJ' UNION ALL
SELECT 'KL202', 'JPN' UNION ALL
SELECT 'KL202', 'JIM' UNION ALL
SELECT 'KL202', 'JIM' UNION ALL
SELECT 'KL101', 'JPJ' UNION ALL
SELECT...
October 17, 2006 at 9:01 am
I did not see the Delete statement to clear REPLAY_LOG_NEW become
REPLAY_LOG_NEW
ACTIVITYID | Student
-------------------
2 | James
2 | William
According to your SQL Scripts, REPLAY_LOG_NEW have a same data with REPLAY_LOG.
where i need to put delete...
September 7, 2006 at 12:58 am
tq sushila. . it's work.
June 23, 2006 at 11:35 am
tq everyone. especially mr. JeffB. your solution give me an idea to solve it.
June 16, 2006 at 9:15 pm
Viewing 15 posts - 16 through 30 (of 34 total)