Viewing 5 posts - 16 through 20 (of 20 total)
Hello Juan.
Once the file is generated(bcp step is complete), you can run this dos command as next step in the process. This will rename the file, append date to the...
March 10, 2008 at 9:08 pm
I guess we need a group by on date?
Changed a bit of test data, fixed the checkout times of employee 2 on '3/11/2008'
Create Table Punches(empid int, time_in Datetime, time_out datetime)
insert...
March 10, 2008 at 8:55 pm
Thanks for the review. I thought no one will bother looking at the query as the original poster was satisfied with Mark's solution.
One of the issues I saw above is...
March 10, 2008 at 3:16 pm
I changed the test data a bit, My understanding could be wrong here.
SELECT 1,1,getdate() UNION ALL --suspicious entry
SELECT 1,1,getdate() UNION ALL --suspicious entry
SELECT 2,1,getdate() UNION ALL -- Employee 2 Login
SELECT...
March 8, 2008 at 4:20 pm
A lil change:
Where isnull(a.director, b.director) = b.director
March 8, 2008 at 2:47 pm
Viewing 5 posts - 16 through 20 (of 20 total)