Below is a copy of a SQL statement that was originally created in business objects and works fine there. When I try to use it with freehand SQL as the data provider it returns everything okay except the ARSystem.dbo.FAB_Incident.Problem_Description, and the ARSystem.dbo.FAB_Incident.Solution_Description only display a “|” sign. Any ideas why this is happening???
SELECT
ARSystem.dbo.FAB_Incident.Incident_ID,
ARSystem.dbo.FAB_Incident.Status,
ARSystem.dbo.FAB_Incident.Call_Begin_Date, ARSystem.dbo.FAB_Incident.End_User_Site, ARSystem.dbo.FAB_Incident.End_User_Name, ARSystem.dbo.FAB_Incident.Assigned_to,
ARSystem.dbo.FAB_Incident.AIS_POC,
ARSystem.dbo.FAB_Incident.Problem_Description, ARSystem.dbo.FAB_Incident.Solution_Description FROM
ARSystem.dbo.FAB_Incident
WHERE
(
ARSystem.dbo.FAB_Incident.AIS IN (‘FS’)
AND ARSystem.dbo.FAB_Incident.Incident_Flag = ‘C’ AND dateadd(second, ARSystem.dbo.FAB_Incident.Call_Begin_Date, ‘Jan 1, 1970’) IS NOT NULL
AND (datediff(day, dateadd(second,
ARSystem.dbo.FAB_Incident.Call_Begin_Date, ‘Jan 1, 1970’), Getdate()) = 1 )
)
Listserv Archives (BOB member since 2002-06-25)