Viewing 13 posts - 1 through 13 (of 13 total)
Thanks for the answer.
April 13, 2011 at 9:36 pm
Thanks for help. I found that there are another way to do this. This method is to create SQL function. This function is to split the CID into the table...
May 11, 2007 at 10:10 am
Thanks all guys~~
April 23, 2007 at 2:22 am
exactly yes.
April 17, 2007 at 9:59 pm
Sorry for misunderstanding you. I have edited my post. See if you understand my question. Because there are so many situations happened in my case. Sometimes, the total number of arrival records...
April 17, 2007 at 8:44 pm
Well, In fact, The above is just a sample that is similar to my case. Actually my case is:
I have the table like this:
ArrDep
id pid adDate adTime adPort adType
1 020004 10/11/2007 11:00 HKG A
2 ...
April 17, 2007 at 7:38 pm
Hi David, I think the result of the query you have written is not my expected result.
Suppose there are two tables:
Table A: Table B:
id value id value
1 A 4 D
2 ...
April 17, 2007 at 8:24 am
It works but this is not a result I want. I think the query should use group by function.
November 14, 2006 at 11:31 pm
My company has a table called AccessLog in SQL Server. It stores all of the staff attendance records. And the struture of this table can't be change because the time...
April 4, 2006 at 3:10 am
It works exactly. However, the speed of query execution is not good enough because of my big size table. Is there any faster method?Sorry for bothering you again.
April 3, 2006 at 3:55 am
(select distinct EmployeeID, dateadd(d, i, @from) as LogDate from #AccessLog, @Numbers where dateadd(d, i, @from) <= @to)
Why does this query can have a loop function?If doing...
April 2, 2006 at 9:42 am
If I query a staff whose employeeid is 0915 and LogDate is between 3/1/2006 to 3/10/2006. the result is shown as following. There is only a record in 3/1/2006.
RCDID EmployeeID LogDate LogTime TerminalID ...
March 30, 2006 at 8:16 pm
It works exactly. RyanRandall, Thanks very much. Can you explain your code? I can't understand why left outer join is neccessary.
March 30, 2006 at 7:54 pm
Viewing 13 posts - 1 through 13 (of 13 total)