I have to use TABs to delimit my columns. Currently, I can partially do a comma delimited string, but not completely because of datatype conversion issues.I really don't understand the COALESCE function. I read a little on it. I stole it from another script we have in the office. Where you see commas i need TABs. I've tried different things but i don't know how to add them. I really need a good review on adding characters like this and converting from one datatype to another.DataType of Fields:StudentID intCourseNumber varcharSectionNumber varcharStaffNumber varcharSchoolNumber varcharSELECT RTRIM('"'+COALESCE(s.StudentID, '') +'","'+ s.LastName +'","'+ s.FirstName + ' ' + s.MiddleName +'","'+ sa.GradeLevelName+'","'+c.CourseNumber +'","'+ c.FullName+'","'+c.SectionNumber +'","'+COALESCE((SELECT TOP(1) t.[Name] FROM ScheduledSection sks JOIN TimeSlot t ON t.TimeSlotID = sks.TimeSlotID WHERE c.CourseID = sks.SectionID ORDER BY t.Sequence), '') +'","'+sf.StaffNumber +'","'+ sf.LastName +'","'+ sf.FirstName +'","'+sch.SchoolNumber +'","'+ '' +'"')FROM dbo.StudentSchedule ssLEFT JOIN dbo.Student s ON s.StudentID = ss.StudentIDJOIN dbo.StudentAcadSession sa ON s.StudentID = sa.StudentIDJOIN Course c ON c.CourseID = ss.SectionIDLEFT JOIN Staff sf ON c.PrimaryTeacherID = sf.StaffIDJOIN dbo.AcadSession a ON a.AcadSessionID = sa.AcadSessionIDJOIN dbo.School sch ON sch.SchoolID = a.SchoolIDThanks very much for your helps guys!