CREATE GLOBAL TEMPORARY ROW TABLE "IMCYC"."CRSPDetailLedgerAllAccountResult"  ( "ACCTCODE" NVARCHAR(15)  CS_STRING, "ACCTNAME" NVARCHAR(100)  CS_STRING, "REFDATE" LONGDATE CS_LONGDATE, "REFYEAR" INT CS_INT, "REFMONTH" INT CS_INT, "REFDAY" INT CS_INT, "NUMBER" INT CS_INT, "MEMO" NVARCHAR(50)  CS_STRING, "FCDEBIT" DECIMAL(19,6) CS_FIXED, "FCCREDIT" DECIMAL(19,6) CS_FIXED, "FCCURRENCY" NVARCHAR(3)  CS_STRING, "DEBIT" DECIMAL(19,6) CS_FIXED, "CREDIT" DECIMAL(19,6) CS_FIXED, "BALDIRECT" NVARCHAR(4)  CS_STRING, "LINEID" INT CS_INT, "TRANSID" INT CS_INT, "CURONRIGHT" CHAR(1) CS_FIXEDSTRING, "DECSEP" CHAR(1) CS_FIXEDSTRING, "SUMDEC" SMALLINT CS_INT, "THOUSSEP" CHAR(1) CS_FIXEDSTRING, "DATEFORMAT" CHAR(1) CS_FIXEDSTRING, "CHARMONTH" INT CS_INT, "DATESEP" CHAR(1) CS_FIXEDSTRING, "TIMEFORMAT" CHAR(1) CS_FIXEDSTRING, "LOGOIMAGE" BLOB MEMORY THRESHOLD  NULL  , "LOGOFILE" NVARCHAR(200)  CS_STRING, "MNHLNOTE" CHAR(1) CS_FIXEDSTRING, "COMPNYNAME" NVARCHAR(100)  CS_STRING ) 