SELECT s.FirstName + ' ' + s.LastName as [Student Name], g.Grade, p.Programs, g.InsertTime FROM Student s INNER JOIN dbo.SRSubmitGrades g on s.StudentUID = g.StudentUID Inner JOIN Programs p on s.ProgramsID = p.ProgramsID WHERE s.ProgramsID IN ('239', '215', '243', '216', '240') AND GRADE not in ('A', 'A-', 'B+', 'B', ' ', 'P') ORDER BY InsertTime;
This returns a table that for the most part is perfect however, The InsertTime Column pulls a timestamp
e.g.
2007-12-20 10:44:17.000
2007-12-20 14:23:12.000
2007-12-21 10:35:00.000
I have tried unsuccessfully using cast and Convert, i believe it is because it is unusable. All i really need to do is remove the Underlined: What i want it to look like is 2007/12/21
2007-12-21 10:35:00.000
Thank you for any help.
Sometimes the answer is so blindingly obvious i fail to see it. Sdog