Here's what I need to get just to get a list of support calls from our support system:
create table #SupportSystem_Calls
(
[CallRef] varchar(8),
[CustomerRef] varchar(16),
[NAME] varchar(120),
[Opened] datetime,
[Closed] datetime,
[Actioned] datetime,
[PRODUCTREF] varchar(16),
[ProductName] varchar(40),
[VERSIONREF]...