Seems simple enough, but I am spinning my wheels....
I need to construct an SQL statement that will be used for a report. I have a field (Payment_Detail) that is CHAR(1200). I need to break the field down in 254 chuncks via Mid() so the data can be exported. Appearently, 255 characters is max for export to Excel from the Web Component. So... what is the syntax... I keep getting invalid Column Name.
SELECT
CRTRANDETAIL."USERGROUP",
CRTRANDETAIL."MESSAGE_ID",
CRTRANDETAIL."PAYMENT_DETAIL",
...
MID(xxxxx,1,254) AS PD_1,
MID(xxxxx,255,254) AS PD_2,
...
CRTRANDETAIL."POST_TIME",
CRTRANDETAIL."MESSAGE_CLASS",
Steve Medvid
"IT Consultant & Web Master"
e-Mail: Stephen_Medvid@GMACM.com
Chester County, PA Residents
Please Show Your Support...
I need to construct an SQL statement that will be used for a report. I have a field (Payment_Detail) that is CHAR(1200). I need to break the field down in 254 chuncks via Mid() so the data can be exported. Appearently, 255 characters is max for export to Excel from the Web Component. So... what is the syntax... I keep getting invalid Column Name.
SELECT
CRTRANDETAIL."USERGROUP",
CRTRANDETAIL."MESSAGE_ID",
CRTRANDETAIL."PAYMENT_DETAIL",
...
MID(xxxxx,1,254) AS PD_1,
MID(xxxxx,255,254) AS PD_2,
...
CRTRANDETAIL."POST_TIME",
CRTRANDETAIL."MESSAGE_CLASS",
Steve Medvid
"IT Consultant & Web Master"
e-Mail: Stephen_Medvid@GMACM.com
Chester County, PA Residents
Please Show Your Support...