Using Cast('' to XML) when my stringb is more than 8000 characters

I have some sql code that is generated dynamically to build a grid.  the xml string that is put together in my sp is dynamic and it just so happens I have a situation where the xml string it put together is more than 8000 characters so when I run my
query I get 'Msg 9413, Level 16, State 1, Line 1 XML parsing; Line 1, character 8000, A string literal was expected.'
below is the sql that my sp has built.  any ideas on how I can get it to work? 
The problem line is the one with '</xs:schema>'as xml)'
Thanks
SELECT CAST('<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop"  attributeFormDefault="qualified"
elementFormDefault="qualified">' + 
'<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">' +
'<xs:complexType>' +
'<xs:choice minOccurs="0" maxOccurs="unbounded">' +
'<xs:element name="BOMVerifyValue">' +
'<xs:complexType>' +
'<xs:sequence>' +
'<xs:element name="BOMVerifyValueID" type="xs:int" minOccurs="0" msprop:Visible="0" msprop:Mandatory="1" />' +
'<xs:element name="Row" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:integer" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="BOMVerifyID" msprop:State="0" msprop:Visible="0" msprop:BestFitColumnMode="2" type="xs:string" minOccurs="0"  msprop:Mandatory="1" />' +
'<xs:element name="SizeX" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:decimal" minOccurs="0"  msprop:Mandatory="1" />' +
'<xs:element name="SizeY" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:decimal" minOccurs="0"  msprop:Mandatory="1" />' +
'<xs:element name="SizeZ" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:decimal" minOccurs="0"  msprop:Mandatory="1" />' +
'<xs:element name="HasErrors" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:boolean" minOccurs="0"  msprop:Mandatory="1" />' +
'<xs:element name="Warning" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" msprop:ReadOnly="true" type="xs:boolean" minOccurs="0"  msprop:Mandatory="1"
/>' +
'<xs:element name="RMK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4041" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4046" type="xs:string" minOccurs="0" />' +
'<xs:element name="NTK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4051" type="xs:string" minOccurs="0" />' +
'<xs:element name="ROT2" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4071" type="xs:string" minOccurs="0" />' +
'<xs:element name="FR-TK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4076" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDoors" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4081" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDrawers" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4086" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDFBox" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4091" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHD" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4096" type="xs:string" minOccurs="0" />' +
'<xs:element name="OneDrawer" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4121" type="xs:string" minOccurs="0" />' +
'<xs:element name="BT" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4126" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDF" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4136" type="xs:string" minOccurs="0" />' +
'<xs:element name="EL" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4161" type="xs:string" minOccurs="0" />' +
'<xs:element name="ER" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4166" type="xs:string" minOccurs="0" />' +
'<xs:element name="FE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4191" type="xs:string" minOccurs="0" />' +
'<xs:element name="FE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4196" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-Back" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4206" type="xs:string" minOccurs="0" />' +
'<xs:element name="BTBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="7979" type="xs:string" minOccurs="0" />' +
'<xs:element name="ELBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8024" type="xs:string" minOccurs="0" />' +
'<xs:element name="ERBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8032" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPLeft" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8190" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPRight" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8195" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPRightButt" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8413" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPLeftButt" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8480" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDFBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9204" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHDBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9262" type="xs:string" minOccurs="0" />' +
'<xs:element name="OneDrawerBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9304" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDoorsFHD" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9408" type="xs:string" minOccurs="0" />' +
'<xs:element name="NTKFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="10151" type="xs:string" minOccurs="0" />' +
'<xs:element name="NTKFE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="10172" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-FE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19191" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-FE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19195" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK_FrontBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19199" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK_BackFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19203" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-BackFE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19207" type="xs:string" minOccurs="0" />' +
'<xs:element name="ROTOneeachside" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19422" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHDSendDoorsLoose" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19733" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHDSendDoorsLooseOne" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19737" type="xs:string" minOccurs="0" />' +
'<xs:element name="ELFE-LBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20199" type="xs:string" minOccurs="0" />' +
'<xs:element name="ERFE-RBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20203" type="xs:string" minOccurs="0" />' +
'<xs:element name="ELFE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20335" type="xs:string" minOccurs="0" />' +
'<xs:element name="ERFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20339" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTKFE-LFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20703" type="xs:string" minOccurs="0" />' +
'</xs:sequence>' +
'</xs:complexType>' +
'</xs:element>' +
'</xs:choice>' +
'</xs:complexType>' +
'</xs:element>' +
'</xs:schema>'as xml)
 SELECT * FROM (
 SELECT ROW_NUMBER() OVER (ORDER BY [bomvv].[BOMVerifyID]) as Row 
     , [BOMVerifyValueID] 
     , [bomvv].[BOMVerifyID] 
     , [bomv].[Size_X] + [SizeX] as [SizeX] 
     , [bomv].[Size_Y] + [SizeY] as [SizeY] 
     , [bomv].[Size_Z] + [SizeZ] as [SizeZ] 
     , [HasErrors] 
     , CASE WHEN ISNULL([bomvtl].[BOMVerifyTransactionLogID], 1) <> 1 
            THEN CASE WHEN ISNULL([csp].[CabinetServiceProcessID], 1) <> 1 
                      THEN '0' 
                      ELSE CASE WHEN ISNULL([bomvv].[UpdateDate], '1/1/2001') > ISNULL([bomvtl].[DateAdded], '1/1/2001') THEN 0 ELSE 1 END 
                 END 
            ELSE '0' 
            END as [Warning] 
     , CASE WHEN CHARINDEX( '4041',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [RMK]
     , CASE WHEN CHARINDEX( '4046',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK]
     , CASE WHEN CHARINDEX( '4051',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NTK]
     , CASE WHEN CHARINDEX( '4071',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ROT2]
     , CASE WHEN CHARINDEX( '4076',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FR-TK]
     , CASE WHEN CHARINDEX( '4081',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NoDoors]
     , CASE WHEN CHARINDEX( '4086',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NoDrawers]
     , CASE WHEN CHARINDEX( '4091',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NoDFBox]
     , CASE WHEN CHARINDEX( '4096',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FHD]
     , CASE WHEN CHARINDEX( '4121',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [OneDrawer]
     , CASE WHEN CHARINDEX( '4126',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BT]
     , CASE WHEN CHARINDEX( '4136',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BDF]
     , CASE WHEN CHARINDEX( '4161',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [EL]
     , CASE WHEN CHARINDEX( '4166',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ER]
     , CASE WHEN CHARINDEX( '4191',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FE-L]
     , CASE WHEN CHARINDEX( '4196',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FE-R]
     , CASE WHEN CHARINDEX( '4206',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK-Back]
     , CASE WHEN CHARINDEX( '7979',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BTBack]
     , CASE WHEN CHARINDEX( '8024',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ELBack]
     , CASE WHEN CHARINDEX( '8032',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ERBack]
     , CASE WHEN CHARINDEX( '8190',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BDEPLeft]
     , CASE WHEN CHARINDEX( '8195',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BDEPRight]
     , CASE WHEN CHARINDEX( '8413',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BDEPRightButt]
     , CASE WHEN CHARINDEX( '8480',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BDEPLeftButt]
     , CASE WHEN CHARINDEX( '9204',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BDFBack]
     , CASE WHEN CHARINDEX( '9262',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FHDBack]
     , CASE WHEN CHARINDEX( '9304',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [OneDrawerBack]
     , CASE WHEN CHARINDEX( '9408',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NoDoorsFHD]
     , CASE WHEN CHARINDEX( '10151',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NTKFE-R]
     , CASE WHEN CHARINDEX( '10172',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NTKFE-L]
     , CASE WHEN CHARINDEX( '19191',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK-FE-R]
     , CASE WHEN CHARINDEX( '19195',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK-FE-L]
     , CASE WHEN CHARINDEX( '19199',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK_FrontBack]
     , CASE WHEN CHARINDEX( '19203',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK_BackFE-R]
     , CASE WHEN CHARINDEX( '19207',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK-BackFE-L]
     , CASE WHEN CHARINDEX( '19422',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ROTOneeachside]
     , CASE WHEN CHARINDEX( '19733',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FHDSendDoorsLoose]
     , CASE WHEN CHARINDEX( '19737',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FHDSendDoorsLooseOne]
     , CASE WHEN CHARINDEX( '20199',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ELFE-LBack]
     , CASE WHEN CHARINDEX( '20203',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ERFE-RBack]
     , CASE WHEN CHARINDEX( '20335',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ELFE-L]
     , CASE WHEN CHARINDEX( '20339',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ERFE-R]
     , CASE WHEN CHARINDEX( '20703',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTKFE-LFE-R]
  FROM [CabinetDesigner].[BOMVerifyValue] bomvv 
 INNER JOIN [CabinetDesigner].[BOMValue] bomv 
 ON [bomv].[BOMID] = [bomvv].[BOMID] 
 AND [bomv].[EndDate] IS NULL 
 LEFT OUTER JOIN [CabinetDesigner].[BOMVerifyTransactionLog] bomvtl 
 ON [bomvtl].[BOMID] = 9143
 AND [bomvtl].[Processed] = 0 
 LEFT OUTER JOIN [CabinetService].[CabinetServiceProcess] csp 
   ON [csp].[BOMVerifyTransactionLogID] = [bomvtl].[BOMVerifyTransactionLogID] 
  AND [csp].[BOMVerifyID] = [bomvv].[BOMVerifyID] 
 WHERE [bomvv].[BOMID] = 9143
 AND [bomvv].[EndDate] IS NULL 
 ) xx 
 FOR XML PATH('BOMVerifyValue'), TYPE)
 FOR XML PATH('NewDataSet')

Each of those segments is a varchar with some number up to 8000 and when you concatenate it, you get a varchar(8000).
If you remove the single quotes and plus signs and create a single string, you will get a varchar(max) which works.
Or you can concatenate an empty varchar(max) variable:
declare @t varchar(max) = ''
SELECT CAST(@t + '<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">' +
'<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">' +
'<xs:complexType>' +
'<xs:choice minOccurs="0" maxOccurs="unbounded">' +
'<xs:element name="BOMVerifyValue">' +
'<xs:complexType>' +
'<xs:sequence>' +
'<xs:element name="BOMVerifyValueID" type="xs:int" minOccurs="0" msprop:Visible="0" msprop:Mandatory="1" />' +
'<xs:element name="Row" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:integer" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="BOMVerifyID" msprop:State="0" msprop:Visible="0" msprop:BestFitColumnMode="2" type="xs:string" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="SizeX" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:decimal" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="SizeY" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:decimal" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="SizeZ" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:decimal" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="HasErrors" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:boolean" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="Warning" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" msprop:ReadOnly="true" type="xs:boolean" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="RMK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4041" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4046" type="xs:string" minOccurs="0" />' +
'<xs:element name="NTK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4051" type="xs:string" minOccurs="0" />' +
'<xs:element name="ROT2" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4071" type="xs:string" minOccurs="0" />' +
'<xs:element name="FR-TK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4076" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDoors" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4081" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDrawers" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4086" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDFBox" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4091" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHD" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4096" type="xs:string" minOccurs="0" />' +
'<xs:element name="OneDrawer" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4121" type="xs:string" minOccurs="0" />' +
'<xs:element name="BT" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4126" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDF" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4136" type="xs:string" minOccurs="0" />' +
'<xs:element name="EL" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4161" type="xs:string" minOccurs="0" />' +
'<xs:element name="ER" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4166" type="xs:string" minOccurs="0" />' +
'<xs:element name="FE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4191" type="xs:string" minOccurs="0" />' +
'<xs:element name="FE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4196" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-Back" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4206" type="xs:string" minOccurs="0" />' +
'<xs:element name="BTBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="7979" type="xs:string" minOccurs="0" />' +
'<xs:element name="ELBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8024" type="xs:string" minOccurs="0" />' +
'<xs:element name="ERBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8032" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPLeft" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8190" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPRight" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8195" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPRightButt" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8413" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPLeftButt" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8480" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDFBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9204" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHDBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9262" type="xs:string" minOccurs="0" />' +
'<xs:element name="OneDrawerBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9304" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDoorsFHD" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9408" type="xs:string" minOccurs="0" />' +
'<xs:element name="NTKFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="10151" type="xs:string" minOccurs="0" />' +
'<xs:element name="NTKFE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="10172" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-FE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19191" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-FE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19195" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK_FrontBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19199" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK_BackFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19203" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-BackFE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19207" type="xs:string" minOccurs="0" />' +
'<xs:element name="ROTOneeachside" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19422" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHDSendDoorsLoose" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19733" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHDSendDoorsLooseOne" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19737" type="xs:string" minOccurs="0" />' +
'<xs:element name="ELFE-LBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20199" type="xs:string" minOccurs="0" />' +
'<xs:element name="ERFE-RBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20203" type="xs:string" minOccurs="0" />' +
'<xs:element name="ELFE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20335" type="xs:string" minOccurs="0" />' +
'<xs:element name="ERFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20339" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTKFE-LFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20703" type="xs:string" minOccurs="0" />' +
'</xs:sequence>' +
'</xs:complexType>' +
'</xs:element>' +
'</xs:choice>' +
'</xs:complexType>' +
'</xs:element>' +
'</xs:schema>'as xml)
Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

Similar Messages

  • How to add the rows formatted as table headings, Tables headings are repeated when a table spans more than one page.

    Hi all,
    i am facing problem while generating Test Result word document after successful execution of TestStand.
    The Problem is :
    i want to add rows Formatted as table headings, table headings are repeated when a table spans more than one page(marked as Red).
    Example:
    Page  No. 1
    |     Test case Number  |  Test Step number      |
    |      100                         |            100                   |
    Page  No. 2
    |     Test case Number  |  Test Step number      |
    |      200                         |            300                   |
    Test Result word document should generate with Table headings(marked as Red) in every pages of the document, but i am not getting as per above example.
    Please through light on this.
    Regards,
    Susa.

    Hi Santiago,
    Thank you very much for your valuable reply.
    i want to generate MS-word report for TestStand after successful testing using MS-word2000.
    Test report contains Actual values, Expected values and Pass/Fail status.
    In my program i have customized all  fields i can able to generate test report which contains Verification engineer name , test mode, test date, start time, end time Actual values, Expected values and Pass/Fail status.etc....
    To put all values of test case number, Test step number, Actual values, Expected values and Pass/Fail status in to table for each time, i will
    insert a row into table every time values arrives, once the table exceedes its page size it moves to the next page, next page should start with table row header  but it start with  values of above said parameters.
    so i'm not able to repeat table row header for each page.
    Please find the attached file for your reference.
    Attched file expected.doc  :   This file contains what i wanted to generate MS-word report. Here table row header "Test Case Number and Test Step Number " is repeated in second page.
    Attached file Actual output from source code.doc   :  This report generated from the source code. Here table row header "Test Case Number and Test Step Number" is not repeated in second page.
    Do you know any property to set "repeat as header row at the top of each page" using MS-word ActiveX in CVI/Labwindows.
    i think this information is sufficient for you,
    Still if you need some information please ask me.
    Thanks
    Susa.
    Attachments:
    Actual output from source code.doc ‏25 KB
    expected.doc ‏26 KB

  • NCLOB variable declared used in procedure cannot store more than 33317 characters.

    Hi,
    I tried to use NCLOB variable to create a procedure dynamically and while constructing the procedure inside NCLOB variable, if more than 33317 characters are put into the variable, then when I try to print this variable, it is not returning anything.
    It works till 33317 characters. But not above it.
    Is there any way I can overcome this restriction. Thanks in advance.

    The iPod shuffle is a music player. The iPods with screens have always been more than that. If the iPod didn't have a calendar, contacts, and notes I wouldn't have considered buying one. Music playing is nice, but I certainly didn't want to carry around multiple devices needlessly. The iPod and a simple cell phone are enough. When the iPhone comes out maybe I'll be down to one device.
    As for the Palm, having been a Newton user at the time I was never impressed with anything about Palm except its size. The same people who bought cheap PC's instead of Macs bought cheap Palms instead of Newtons. Quantity rather than quality won out.
    Apple learned from that and made the iPod a good size to begin with, otherwise it might have suffered a similar fate.
    The only PDA capability the iPod lacks is the ability to edit its content independently of the computer. That would be handy, but it turns out hasn't been a critical need for me. More often than not I need to look something up not change something while away from my office. There is a good side to this though, if I lost the iPod I would not have to worry a bit about losing any Contacts, Calendar events, or Music. Notes though, well that is a different matter, those I backup.
    I guess one person's music player is another person's PDA.
    Regards

  • Cannot insert more than 4000 characters using PL/SQL SP  to LONG columns

    I have created a stored procedure which will insert more than 4000 characters in a table having long column.
    The stored procedure body is as follows :
    CREATE OR REPLACE PROCEDURE INSERTTOTEST(P_ZUNIQUEID IN  VARCHAR2,P_LONGVAL  IN LONG)
    AS
    BEGIN
    insert into CLOBVALUESHOW(zuniqueid, longval) VALUES (p_zuniqueid, p_longval) ;
    COMMIT;
    END INSERTTOTEST;
    When I use the RPAD function as below, it executes without any error :
    EXEC INSERTTOTEST('ABCD123',rpad('',32000,'*'))*
    But when I run with real-time values like the following string value :
    '[ERROR] [JTA_Command_Insert_tCatalog]Error invoking Transaction Command action: JTATransactionCommand - A SQL Command Exception occured against JNJ_MDD_OCD_CPL_DS with the following command BEGIN INSERT INTO tCatalog_SAPImport( tCatalog_SAPImport.CatalogNo, tCatalog_SAPImport.SONumber, tCatalog_SAPImport.ChemName, tCatalog_SAPImport.RH, tCatalog_SAPImport.ExpireMonth, tCatalog_SAPImport.SlidesPerCart, tCatalog_SAPImport.IDEXX_PART_NBR, tCatalog_SAPImport.TOP_FOIL_MATL_NBR, tCatalog_SAPImport.BTM_FOIL_MATL_NBR, tCatalog_SAPImport.AltChemName, tCatalog_SAPImport.StoreTemp, tCatalog_SAPImport.CartonCode, tCatalog_SAPImport.GrossLeakLimit, tCatalog_SAPImport.LeakLimit, tCatalog_SAPImport.CompValue, tCatalog_SAPImport.ProductType,tCatalog_SAPImport.CheckWeighHi, tCatalog_SAPImport.CheckWeighLo, tCatalog_SAPImport.SO_MASK, tCatalog_SAPImport.CAL_CURVE_PFX, tCatalog_SAPImport.PROD_INP_TYP, tCatalog_SAPImport.CTN_TUBE, tCatalog_SAPImport.SLIDE_STYLE, tCatalog_SAPImport.PROD_DESIG, tCatalog_SAPImport.SFM_AUD_RT, tCatalog_SAPImport.SPL_RT, tCatalog_SAPImport.FIRST_SLIDES_REM, tCatalog_SAPImport.SPL_FRONT, tCatalog_SAPImport.SPL_REAR, tCatalog_SAPImport.BARCODE_TYP, tCatalog_SAPImport.CHK_WEIGH_AIM, tCatalog_SAPImport.FOIL_TYP, tCatalog_SAPImport.CART_CLIP_PRES, tCatalog_SAPImport.TOP_LBL_TYP, tCatalog_SAPImport.FREEZER_MTH, tCatalog_SAPImport.OVERAGE_MTH) VALUES('1988211','09','ALB','33','NA','0','','','','ALB','8','522','305','710','50','17','208','165','','','SP','1','0','','0','0','0','0','0','2','0','0','0','1','0','0'); INSERT INTO tCatalog_SAPImport( tCatalog_SAPImport.CatalogNo, tCatalog_SAPImport.SONumber, tCatalog_SAPImport.ChemName, tCatalog_SAPImport.RH, tCatalog_SAPImport.ExpireMonth, tCatalog_SAPImport.SlidesPerCart, tCatalog_SAPImport.IDEXX_PART_NBR, tCatalog_SAPImport.TOP_FOIL_MATL_NBR, tCatalog_SAPImport.BTM_FOIL_MATL_NBR, tCatalog_SAPImport.AltChemName, tCatalog_SAPImport.StoreTemp, tCatalog_SAPImport.CartonCode, tCatalog_SAPImport.GrossLeakLimit, tCatalog_SAPImport.LeakLimit, tCatalog_SAPImport.CompValue, tCatalog_SAPImport.ProductType,tCatalog_SAPImport.CheckWeighHi, tCatalog_SAPImport.CheckWeighLo, tCatalog_SAPImport.SO_MASK, tCatalog_SAPImport.CAL_CURVE_PFX, tCatalog_SAPImport.PROD_INP_TYP, tCatalog_SAPImport.CTN_TUBE, tCatalog_SAPImport.SLIDE_STYLE, tCatalog_SAPImport.PROD_DESIG, tCatalog_SAPImport.SFM_AUD_RT, tCatalog_SAPImport.SPL_RT, tCatalog_SAPImport.FIRST_SLIDES_REM, tCatalog_SAPImport.SPL_FRONT, tCatalog_SAPImport.SPL_REAR, tCatalog_SAPImport.BARCODE_TYP, tCatalog_SAPImport.CHK_WEIGH_AIM, tCatalog_SAPImport.FOIL_TYP, tCatalog_SAPImport.CART_CLIP_PRES, tCatalog_SAPImport.TOP_LBL_TYP, tCatalog_SAPImport.FREEZER_MTH, tCatalog_SAPImport.OVERAGE_MTH) VALUES('1988211','09','ALB','33','NA','0','','','','ALB','8','522','305','710','50','17','208','165','','','SP','1','0','','0','0','0','0','0','2','0','0','0','1','0','0'); INSERT INTO tCatalog_SAPImport( tCatalog_SAPImport.CatalogNo, tCatalog_SAPImport.SONumber, tCatalog_SAPImport.ChemName, tCatalog_SAPImport.RH, tCatalog_SAPImport.ExpireMonth, tCatalog_SAPImport.SlidesPerCart, tCatalog_SAPImport.IDEXX_PART_NBR, tCatalog_SAPImport.TOP_FOIL_MATL_NBR, tCatalog_SAPImport.BTM_FOIL_MATL_NBR, tCatalog_SAPImport.AltChemName, tCatalog_SAPImport.StoreTemp, tCatalog_SAPImport.CartonCode, tCatalog_SAPImport.GrossLeakLimit, tCatalog_SAPImport.LeakLimit, tCatalog_SAPImport.CompValue, tCatalog_SAPImport.ProductType,tCatalog_SAPImport.CheckWeighHi, tCatalog_SAPImport.CheckWeighLo, tCatalog_SAPImport.SO_MASK, tCatalog_SAPImport.CAL_CURVE_PFX, tCatalog_SAPImport.PROD_INP_TYP, tCatalog_SAPImport.CTN_TUBE, tCatalog_SAPImport.SLIDE_STYLE, tCatalog_SAPImport.PROD_DESIG, tCatalog_SAPImport.SFM_AUD_RT, tCatalog_SAPImport.SPL_RT, tCatalog_SAPImport.FIRST_SLIDES_REM, tCatalog_SAPImport.SPL_FRONT, tCatalog_SAPImport.SPL_REAR, tCatalog_SAPImport.BARCODE_TYP, tCatalog_SAPImport.CHK_WEIGH_AIM, tCatalog_SAPImport.FOIL_TYP, tCatalog_SAPImport.CART_CLIP_PRES, tCatalog_SAPImport.TOP_LBL_TYP, tCatalog_SAPImport.FREEZER_MTH, tCatalog_SAPImport.OVERAGE_MTH) VALUES('8257289','67','GGT','15','NA','0','','','','GGT','8','543','305','710','50','21','323','250','','','SP','1','0','','0','0','0','0','0','2','0','0','0','2','0','0'); INSERT INTO tCatalog_SAPImport( tCatalog_SAPImport.CatalogNo, tCatalog_SAPImport.SONumber, tCatalog_SAPImport.ChemName, tCatalog_SAPImport.RH, tCatalog_SAPImport.ExpireMonth, tCatalog_SAPImport.SlidesPerCart, tCatalog_SAPImport.IDEXX_PART_NBR, tCatalog_SAPImport.TOP_FOIL_MATL_NBR, tCatalog_SAPImport.BTM_FOIL_MATL_NBR, tCatalog_SAPImport.AltChemName, tCatalog_SAPImport.StoreTemp, tCatalog_SAPImport.CartonCode, tCatalog_SAPImport.GrossLeakLimit, tCatalog_SAPImport.LeakLimit, tCatalog_SAPImport.CompValue, tCatalog_SAPImport.ProductType,tCatalog_SAPImport.CheckWeighHi, tCatalog_SAPImport.CheckWeighLo, tCatalog_SAPImport.SO_MASK, tCatalog_SAPImport.CAL_CURVE_PFX, tCatalog_SAPImport.PROD_INP_TYP, tCatalog_SAPImport.CTN_TUBE, tCatalog_SAPImport.SLIDE_STYLE, tCatalog_SAPImport.PROD_DESIG, tCatalog_SAPImport.SFM_AUD_RT, tCatalog_SAPImport.SPL_RT, tCatalog_SAPImport.FIRST_SLIDES_REM, tCatalog_SAPImport.SPL_FRONT, tCatalog_SAPImport.SPL_REAR, tCatalog_SAPImport.BARCODE_TYP, tCatalog_SAPImport.CHK_WEIGH_AIM, tCatalog_SAPImport.FOIL_TYP, tCatalog_SAPImport.CART_CLIP_PRES, tCatalog_SAPImport.TOP_LBL_TYP, tCatalog_SAPImport.FREEZER_MTH, tCatalog_SAPImport.OVERAGE_MTH) VALUES('1513209','12','PHOS','33','11','12','','','','PHOS','8','507','305','710','50','11','323','262','','','SP','1','0','','0','0','0','0','0','2','0','0','0','1','0','0'); INSERT INTO tCatalog_SAPImport( tCatalog_SAPImport.CatalogNo, tCatalog_SAPImport.SONumber, tCatalog_SAPImport.ChemName, tCatalog_SAPImport.RH, tCatalog_SAPImport.ExpireMonth, tCatalog_SAPImport.SlidesPerCart, tCatalog_SAPImport.IDEXX_PART_NBR, tCatalog_SAPImport.TOP_FOIL_MATL_NBR, tCatalog_SAPImport.BTM_FOIL_MATL_NBR, tCatalog_SAPImport.AltChemName, tCatalog_SAPImport.StoreTemp, tCatalog_SAPImport.CartonCode, tCatalog_SAPImport.GrossLeakLimit, tCatalog_SAPImport.LeakLimit, tCatalog_SAPImport.CompValue, tCatalog_SAPImport.ProductType,tCatalog_SAPImport.CheckWeighHi, tCatalog_SAPImport.CheckWeighLo, tCatalog_SAPImport.SO_MASK, tCatalog_SAPImport.CAL_CURVE_PFX, tCatalog_SAPImport.PROD_INP_TYP, tCatalog_SAPImport.CTN_TUBE, tCatalog_SAPImport.SLIDE_STYLE, tCatalog_SAPImport.PROD_DESIG, tCatalog_SAPImport.SFM_AUD_RT, tCatalog_SAPImport.SPL_RT, tCatalog_SAPImport.FIRST_SLIDES_REM, tCatalog_SAPImport.SPL_FRONT, tCatalog_SAPImport.SPL_REAR, tCatalog_SAPImport.BARCODE_TYP, tCatalog_SAPImport.CHK_WEIGH_AIM, tCatalog_SAPImport.FOIL_TYP, tCatalog_SAPImport.CART_CLIP_PRES, tCatalog_SAPImport.TOP_LBL_TYP, tCatalog_SAPImport.FREEZER_MTH, tCatalog_SAPImport.OVERAGE_MTH) VALUES('1513209','12','PHOS','33','11','12','','','','PHOS','8','507','305','710','50','11','323','262','','','SP','1','0','','0','0','0','0','0','2','0','0','0','1','0','0'); INSERT INTO tCatalog_SAPImport( tCatalog_SAPImport.CatalogNo, tCatalog_SAPImport.SONumber, tCatalog_SAPImport.ChemName, tCatalog_SAPImport.RH, tCatalog_SAPImport.ExpireMonth, tCatalog_SAPImport.SlidesPerCart, tCatalog_SAPImport.IDEXX_PART_NBR, tCatalog_SAPImport.TOP_FOIL_MATL_NBR, tCatalog_SAPImport.BTM_FOIL_MATL_NBR, tCatalog_SAPImport.AltChemName, tCatalog_SAPImport.StoreTemp, tCatalog_SAPImport.CartonCode, tCatalog_SAPImport.GrossLeakLimit, tCatalog_SAPImport.LeakLimit, tCatalog_SAPImport.CompValue, tCatalog_SAPImport.ProductType,tCatalog_SAPImport.CheckWeighHi, tCatalog_SAPImport.CheckWeighLo, tCatalog_SAPImport.SO_MASK, tCatalog_SAPImport.CAL_CURVE_PFX, tCatalog_SAPImport.PROD_INP_TYP, tCatalog_SAPImport.CTN_TUBE, tCatalog_SAPImport.SLIDE_STYLE, tCatalog_SAPImport.PROD_DESIG, tCatalog_SAPImport.SFM_AUD_RT, tCatalog_SAPImport.SPL_RT, tCatalog_SAPImport.FIRST_SLIDES_REM, tCatalog_SAPImport.SPL_FRONT, tCatalog_SAPImport.SPL_REAR, tCatalog_SAPImport.BARCODE_TYP, tCatalog_SAPImport.CHK_WEIGH_AIM, tCatalog_SAPImport.FOIL_TYP, tCatalog_SAPImport.CART_CLIP_PRES, tCatalog_SAPImport.TOP_LBL_TYP, tCatalog_SAPImport.FREEZER_MTH, tCatalog_SAPImport.OVERAGE_MTH) VALUES('1513209','12','PHOS','33','11','12','','','','PHOS','8','507','305','710','50','11','323','262','','','SP','1','0','','0','0','0','0','0','2','0','0','0','1','0','0'); INSERT INTO tCatalog_SAPImport( tCatalog_SAPImport.CatalogNo, tCatalog_SAPImport.SONumber, tCatalog_SAPImport.ChemName, tCatalog_SAPImport.RH, tCatalog_SAPImport.ExpireMonth, tCatalog_SAPImport.SlidesPerCart, tCatalog_SAPImport.IDEXX_PART_NBR, tCatalog_SAPImport.TOP_FOIL_MATL_NBR, tCatalog_SAPImport.BTM_FOIL_MATL_NBR, tCatalog_SAPImport.AltChemName, tCatalog_SAPImport.StoreTemp, tCatalog_SAPImport.CartonCode, tCatalog_SAPImport.GrossLeakLimit, tCatalog_SAPImport.LeakLimit, tCatalog_SAPImport.CompValue, tCatalog_SAPImport.ProductType,tCatalog_SAPImport.CheckWeighHi, tCatalog_SAPImport.CheckWeighLo, tCatalog_SAPImport.SO_MASK, tCatalog_SAPImport.CAL_CURVE_PFX, tCatalog_SAPImport.PROD_INP_TYP, tCatalog_SAPImport.CTN_TUBE, tCatalog_SAPImport.SLIDE_STYLE, tCatalog_SAPImport.PROD_DESIG, tCatalog_SAPImport.SFM_AUD_RT, tCatalog_SAPImport.SPL_RT, tCatalog_SAPImport.FIRST_SLIDES_REM, tCatalog_SAPImport.SPL_FRONT, tCatalog_SAPImport.SPL_REAR, tCatalog_SAPImport.BARCODE_TYP, tCatalog_SAPImport.CHK_WEIGH_AIM, tCatalog_SAPImport.FOIL_TYP, tCatalog_SAPImport.CART_CLIP_PRES, tCatalog_SAPImport.TOP_LBL_TYP, tCatalog_SAPImport.FREEZER_MTH, tCatalog_SAPImport.OVERAGE_MTH) VALUES('1450261','03','CA','33','NA','0','','','','Ca','8','506','305','710','50','11','323','262','','','SP','1','0','','0','0','0','0','0','2','0','0','0','1','0','0'); INSERT INTO tCatalog_SAPImport( tCatalog_SAPImport.CatalogNo, tCatalog_SAPImport.SONumber, tCatalog_SAPImport.ChemName, tCatalog_SAPImport.RH, tCatalog_SAPImport.ExpireMonth, tCatalog_SAPImport.SlidesPerCart, tCatalog_SAPImport.IDEXX_PART_NBR, tCatalog_SAPImport.TOP_FOIL_MATL_NBR, tCatalog_SAPImport.BTM_FOIL_MATL_NBR, tCatalog_SAPImport.AltChemName, tCatalog_SAPImport.StoreTemp, tCatalog_SAPImport.CartonCode, tCatalog_SAPImport.GrossLeakLimit, tCatalog_SAPImport.LeakLimit, tCatalog_SAPImport.CompValue, tCatalog_SAPImport.ProductType,tCatalog_SAPImport.CheckWeighHi, tCatalog_SAPImport.CheckWeighLo, tCatalog_SAPImport.SO_MASK, tCatalog_SAPImport.CAL_CURVE_PFX, tCatalog_SAPImport.PROD_INP_TYP, tCatalog_SAPImport.CTN_TUBE, tCatalog_SAPImport.SLIDE_STYLE, tCatalog_SAPImport.PROD_DESIG, tCatalog_SAPImport.SFM_AUD_RT, tCatalog_SAPImport.SPL_RT, tCatalog_SAPImport.FIRST_SLIDES_REM, tCatalog_SAPImport.SPL_FRONT, tCatalog_SAPImport.SPL_REAR, tCatalog_SAPImport.BARCODE_TYP, tCatalog_SAPImport.CHK_WEIGH_AIM, tCatalog_SAPImport.FOIL_TYP, tCatalog_SAPImport.CART_CLIP_PRES, tCatalog_SAPImport.TOP_LBL_TYP, tCatalog_SAPImport.FREEZER_MTH, tCatalog_SAPImport.OVERAGE_MTH) VALUES('1450261','03','CA','33','NA','0','','','','Ca','8','506','305','710','50','11','323','262','','','SP','1','0','','0','0','0','0','0','2','0','0','0','1','0','0'); INSERT INTO tCatalog_SAPImport( tCatalog_SAPImport.CatalogNo, tCatalog_SAPImport.SONumber, tCatalog_SAPImport.ChemName, tCatalog_SAPImport.RH, tCatalog_SAPImport.ExpireMonth, tCatalog_SAPImport.SlidesPerCart, tCatalog_SAPImport.IDEXX_PART_NBR, tCatalog_SAPImport.TOP_FOIL_MATL_NBR, tCatalog_SAPImport.BTM_FOIL_MATL_NBR, tCatalog_SAPImport.AltChemName, tCatalog_SAPImport.StoreTemp, tCatalog_SAPImport.CartonCode, tCatalog_SAPImport.GrossLeakLimit, tCatalog_SAPImport.LeakLimit, tCatalog_SAPImport.CompValue, tCatalog_SAPImport.ProductType,tCatalog_SAPImport.CheckWeighHi, tCatalog_SAPImport.CheckWeighLo, tCatalog_SAPImport.SO_MASK, tCatalog_SAPImport.CAL_CURVE_PFX, tCatalog_SAPImport.PROD_INP_TYP, tCatalog_SAPImport.CTN_TUBE, tCatalog_SAPImport.SLIDE_STYLE, tCatalog_SAPImport.PROD_DESIG, tCatalog_SAPImport.SFM_AUD_RT, tCatalog_SAPImport.SPL_RT, tCatalog_SAPImport.FIRST_SLIDES_REM, tCatalog_SAPImport.SPL_FRONT, tCatalog_SAPImport.SPL_REAR, tCatalog_SAPImport.BARCODE_TYP, tCatalog_SAPImport.CHK_WEIGH_AIM, tCatalog_SAPImport.FOIL_TYP, tCatalog_SAPImport.CART_CLIP_PRES, tCatalog_SAPImport.TOP_LBL_TYP, tCatalog_SAPImport.FREEZER_MTH, tCatalog_SAPImport.OVERAGE_MTH) VALUES('1450261','03','CA','33','NA','0','','','','Ca','8','506','305','710','50','11','323','262','','','SP','1','0','','0','0','0','0','0','2','0','0','0','1','0','0'); INSERT INTO tCatalog_SAPImport( tCatalog_SAPImport.CatalogNo, tCatalog_SAPImport.SONumber, tCatalog_SAPImport.ChemName, tCatalog_SAPImport.RH, tCatalog_SAPImport.ExpireMonth, tCatalog_SAPImport.SlidesPerCart, tCatalog_SAPImport.IDEXX_PART_NBR, tCatalog_SAPImport.TOP_FOIL_MATL_NBR, tCatalog_SAPImport.BTM_FOIL_MATL_NBR, tCatalog_SAPImport.AltChemName, tCatalog_SAPImport.StoreTemp, tCatalog_SAPImport.CartonCode, tCatalog_SAPImport.GrossLeakLimit, tCatalog_SAPImport.LeakLimit, tCatalog_SAPImport.CompValue, tCatalog_SAPImport.ProductType,tCatalog_SAPImport.CheckWeighHi, tCatalog_SAPImport.CheckWeighLo, tCatalog_SAPImport.SO_MASK, tCatalog_SAPImport.CAL_CURVE_PFX, tCatalog_SAPImport.PROD_INP_TYP, tCatalog_SAPImport.CTN_TUBE, tCatalog_SAPImport.SLIDE_STYLE, tCatalog_SAPImport.PROD_DESIG, tCatalog_SAPImport.SFM_AUD_RT, tCatalog_SAPImport.SPL_RT, tCatalog_SAPImport.FIRST_SLIDES_REM, tCatalog_SAPImport.SPL_FRONT, tCatalog_SAPImport.SPL_REAR, tCatalog_SAPImport.BARCODE_TYP, tCatalog_SAPImport.CHK_WEIGH_AIM, tCatalog_SAPImport.FOIL_TYP, tCatalog_SAPImport.CART_CLIP_PRES, tCatalog_SAPImport.TOP_LBL_TYP, tCatalog_SAPImport.FREEZER_MTH, tCatalog_SAPImport.OVERAGE_MTH) VALUES('1513209','12','PHOS','33','11','12','','','','PHOS','8','507','305','710','50','11','323','262','','','SP','1','0','','0','0','0','0','0','2','0','0','0','1','0','0'); INSERT INTO tCatalog_SAPImport( tCatalog_SAPImport.CatalogNo, tCatalog_SAPImport.SONumber, tCatalog_SAPImport.ChemName, tCatalog_SAPImport.RH, tCatalog_SAPImport.ExpireMonth, tCatalog_SAPImport.SlidesPerCart, tCatalog_SAPImport.IDEXX_PART_NBR, tCatalog_SAPImport.TOP_FOIL_MATL_NBR, tCatalog_SAPImport.BTM_FOIL_MATL_NBR, tCatalog_SAPImport.AltChemName, tCatalog_SAPImport.StoreTemp, tCatalog_SAPImport.CartonCode, tCatalog_SAPImport.GrossLeakLimit, tCatalog_SAPImport.LeakLimit, tCatalog_SAPImport.CompValue, tCatalog_SAPImport.ProductType,tCatalog_SAPImport.CheckWeighHi, tCatalog_SAPImport.CheckWeighLo, tCatalog_SAPImport.SO_MASK, tCatalog_SAPImport.CAL_CURVE_PFX, tCatalog_SAPImport.PROD_INP_TYP, tCatalog_SAPImport.CTN_TUBE, tCatalog_SAPImport.SLIDE_STYLE, tCatalog_SAPImport.PROD_DESIG, tCatalog_SAPImport.SFM_AUD_RT, tCatalog_SAPImport.SPL_RT, tCatalog_SAPImport.FIRST_SLIDES_REM, tCatalog_SAPImport.SPL_FRONT, tCatalog_SAPImport.SPL_REAR, tCatalog_SAPImport.BARCODE_TYP, tCatalog_SAPImport.CHK_WEIGH_AIM, tCatalog_SAPImport.FOIL_TYP, tCatalog_SAPImport.CART_CLIP_PRES, tCatalog_SAPImport.TOP_LBL_TYP, tCatalog_SAPImport.FREEZER_MTH, tCatalog_SAPImport.OVERAGE_MTH) VALUES('1450261','03','CA','33','NA','0','','','','Ca','8','506','305','710','50','11','323','262','','','SP','1','0','','0','0','0','0','0','2','0','0','0','1','0','0');'*
    I get the error -
    Error starting at line 1 in command:
    exec P_TESTCLOB(6, '[ERROR] [JTA_Command_Insert_tCatalog]Error invoking Transaction Command action: JTATransactionCommand - A SQL Command Exception occured against JNJ_MDD_OCD_CPL_DS with the following command BEGIN INSERT INTO tCatalog_SAPImport( tCatalog_SAPImport.CatalogNo, tCatalog_SAPImport.SONumber, tCatalog_SAPImport.ChemName, tCatalog_SAPImport.RH, tCatalog_SAPImport.ExpireMonth, tCatalog_SAPImport.SlidesPerCart, tCatalog_SAPImport.IDEXX_PART_NBR, tCatalog_SAPImport.TOP_FOIL_MATL_NBR, tCatalog_SAPImport.BTM_FOIL_MATL_NBR, tCatalog_SAPImport.AltChemName, ………..tCatalog_SAPImport.CAL_CURVE_PFX, tCatalog_SAPImport.PROD_INP_TYP, tCatalog_SAPImport.CTN_TUBE, tCatalog_SAPImport.SLIDE_STYLE, tCatalog_SAPImport.PROD_DESIG, tCatalog_SAPImport.SFM_AUD_RT, tCatalog_SAPImport.SPL_RT, tCatalog_SAPImport.FIRST_SLIDES_REM, tCatalog_SAPImport.SPL_FRONT, tCatalog_SAPImport.SPL_REAR, tCatalog_SAPImport.BARCODE_TYP, tCatalog_SAPImport.CHK_WEIGH_AIM, tCatalog_SAPImport.FOIL_TYP, tCatalog_SAPImport.CART_CLIP_PRES, tCatalog_SAPImport.TOP_LBL_TYP, tCatalog_SAPImport.FREEZER_MTH, tCatalog_SAPImport.OVERAGE_MTH) VALUES('1450261','03','CA','33','NA','0','','','','Ca','8','506','305','710','50','11','323','262','','','SP','1','0','','0','0','0','0','0','2','0','0','0','1','0','0');' *(the statement continues, I have trimmed it as it is not possible that amount of length in the forum. )*
    Error report:
    ORA-06550: line 1, column 1398:
    PLS-00103: Encountered the symbol "1988211" when expecting one of the following:
    ) , * & = - + < / > at in is mod remainder not rem =>
    <an exponent (**)> <> or != or ~= >= <= <> and or like like2
    like4 likec between || multiset member submultiset
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    Can anyone tell me why I am getting this error executing the same STORED PROCEDURE while inserting into the LONG column but when using RPAD functions for executing the same STORED PROCEDURE its not happening ?

    >
    But then why will the problem happen with this long string ?
    >
    You don't have a 'long string'. You have a lot of single-quoted strings combined with some unquoted strings.
    There are embedded singel quotes in what you call 'this long string'.
    Try using a different string delimiter so that the quotes do not cause a problem.
    You can use an exclamation point ('!') since there is none in the text you provided.
    Here is an example of what will not work because there is one embedded single quote
    'name LIKE '%DBMS_%%'This is the same value using exclamation as the delimiter - this works because there is no exclamation in the string
    q'!name LIKE '%DBMS_%%'!'1. q must be the first character
    2. ' (single quote) must be the next character
    3. ! (or any delimiter you choose) is the next character
    4. abcdefg. . . -- this is your string that can include single quotes but not an exclamation point
    5. ! is the next to last character - must be the same delimiter used as the third character
    6. ' (single quote) is the last character
    See the 'Text Literals' section of the SQL Reference for more examples
    http://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements003.htm
    Note that this one will not work because the string includes the percent
    This is the same value using exclamation as the delimiter - this works because there is no exclamation in the string
    q'%name LIKE '%DBMS_%%'%'

  • Export to Text failing when Report height is more than 23 inches

    I have a problem while exporting to Text, when report height is more than 23 inches. It's failing with "an unhandled exception occurred in crw32.exe [3856]"
    Both Crystal Reports 2008 and Crystal Reports XI Release 2 are failing. Export to PDF is working fine.
    I am trying to design a lengthy report and export to text.
    I searched in forum with out any results.
    It would be great, if some body can point me in right direction. Thank you.
    Regards,
    Raveendra

    Hi Raveendra
    To work around this error message, disable DEP by performing the following steps:
    1. Click Start > Settings > Control Panel.
    2. Double-click 'System'. The "System Properties" dialog box appears.
    3. Click the 'Advanced' tab.
    4. Click 'settings' under 'performance'.
    5. Click the 'Data Execution Prevention' tab
    6. Select 'Turn on DEP for all programs and services except those I select:'.
    7. Click 'Add'.
    8. Browse for the application CRW32.exe. This file is located in:
    C:\Program Files\Business Objects\Crystal Reports 12\
    9. Select CRW32.exe and click 'Apply'.
    10. Click 'OK' to close the 'System Properties' dialog box.
    11. Log on as an Administrator and start Crystal Reports.
    Now try to export report to the text format and observe the behavior.
    Regards
    Girish Bhosale

  • TS4123 This is not correct solution. I have fresh copy of Windows 7 64 bit and I have the same problem.  Autorun only shows the Bonjour service.  It started when try to sync more than one iphone.

    This is not correct solution. I have fresh/new copy of Windows 7 64 bit and I have the same problem. 
    Autorun only shows the Apple Bonjour service.  It started when try to sync more than one iphone over WiFi. I have two iphones and an iPad. I turned off syncing over WiFi and still has high CPU utilization. One of the CPU's is pegged at 100%.  It is the AppleMobileDeviceService.exe process.

    For the record, I then followed the suggestion of MarcDCMB in https://discussions.apple.com/thread/4291206 of just manually restarting the Apple Mobile Device service in Windows services.msc once each time after starting iTunes and the service no longer hogs CPU after that service restart.  Not too painful as a work-around, and apparently an effective one, but clearly not a solution to the problem.  Again, as above, all the other solutions didn't work for me and I have no conflicting software as far as I can tell. So you'd have to say this Apple's problem.
    Also FTR, I am still on the 5.2.0.6 version of the Apple Mobile Device Support MSI and I don't know if that is relevant to this work-around working but my sense is that it is NOT relevant.  I'll report back on this thread if I re-upgrade and the problem returns in spite of the service-restart approach.

  • Suddenly, time machine is very slow. Used to take up a minute and now more than half an hour. Does anybody know how this can happen? Indexing the back-up disk is off, but Timde Machine keeps on indexing!

    Suddenly, time machine is very slow. Used to take up a minute and now more than half an hour. Does anybody know how this can happen? Indexing the back-up disk is off, but Timde Machine keeps on indexing!

    same issue here...

  • Insert more than 4000 characters using sql plus

    I have a SQL script that creates a database. The problem is that some of the fields are longer than 4000 characters in the INSERT statement and Oracle doesn't seem to like it.
    The field is a clob and works fine in the application (i.e. I can insert more than 4000 characters using the app) - how do I achieve this in a SQL script?
    Any help is much appreciated.
    Cheers,
    Steve

    Hi,
    This pl/sql block works absolutely fine in SQL*Plus inserting > 4000 characters into clob column:
    declare
    l_str varchar2(8000);
    l_str1 varchar2(2400) := 'first part of the verly long string...';
    l_str2 varchar2(2400) := 'second part of the verly long string...';
    begin
    l_str := l_str1 || l_str2;
    insert into tmpl values (l_str);
    end;
    So, you'll have to replace inserts with pl/sql blocks in your script.
    Tested in Oracle 8.1.7.0.0
    Regards,
    Andrew Velitchko
    BrainBench MVP for Developer/2000
    http://www.brainbench.com

  • Help in using listagg function for more than 8000 char.

    Hi Friends,
    Need you urgent help in using listagg function for more than 8000 char.
    I did the below sample SQL and in "e_orig" and "d_orig" for upto 4000 char it is working fine but I have to use it for more than 8000 char. and it is giving error,
    I checked the listagg function is having limitation of 4000 char.
    I tried but I am unable to achive this. Can someone provide me a sample example to achive this
    select d.dname,d.loc,e.hiredate
    ,listagg(e.ename,',' ) within group (order by e.deptno) over (partition by e.deptno) as e_orig
    ,listagg(e.ename, ',') within group (order by e.sal) over (partition by e.deptno) as d_orig
    from emp e, dept d
    where e.deptno=d.deptno;[ This is my first post, I gone through the guideline for posting a post , and try to go according to that ( I have not pasted here create table and insert as I have used basic table emp, dept for example), please let me know if still I should give this, I will take care from my next post ]
    Thanks in advance

    Interesting, I didn't know you could do that, but...
    BluShadow wrote:
    You could write some PL/SQL code that does it all for you, but that would involve loops and would be slow.Well, objects are written in PL/SQL aren't they? And presumably there'll be implicit looping too? So it's not at all obvious that this method will be faster than doing the joining in PL/SQL in memory. The only way to find out is to benchmark them - so I have done that.
    I noticed that OP's ref cursor actually only ever retrieves a single record for a bound department number, so I decided the best thing would be to test using a procedure that passes an output string back. I selected all (109) employees and put spaces in to ensure above 4000 characters. I also noticed that as he is using PL/SQL he probably can use a VARCHAR2 type, but just not ListAgg in the query, so I wrote short procedures as follows:
    SimpleAggChr     - bulk collect and array processing, VARCHAR2 output
    ClobAggPrc     - the custom aggregation method, CLOB output
    SimpleAggClob     - bulk collect and array processing, CLOB output
    I then wrote a driving script that calls them in the order above and times each call (I like benchmarking so I have my own timing object to make it easy). I then print the lengths for checking, and my object writes the timings to my output table. Running a few times I got varying results, but generally it looks like there isn't a lot to choose between them for performance.
    Here's the procedure code:
    CREATE OR REPLACE TYPE char100_list_type AS TABLE OF VARCHAR2(100)
    CREATE OR REPLACE PROCEDURE SimpleAggChr (x_out OUT VARCHAR2) IS
      l_enames     char100_list_type;
    BEGIN
      SELECT first_name || '                                        ' || last_name
        BULK COLLECT INTO l_enames
        FROM employees
       ORDER BY salary;
      FOR i IN 1..l_enames.COUNT LOOP
        x_out := x_out || l_enames(i) || ',';
      END LOOP;
    END SimpleAggChr;
    CREATE OR REPLACE PROCEDURE SimpleAggClob (x_out OUT CLOB) IS
      l_enames     char100_list_type;
    BEGIN
      SELECT first_name || '                                        ' || last_name
        BULK COLLECT INTO l_enames
        FROM employees
       ORDER BY salary;
      FOR i IN 1..l_enames.COUNT LOOP
        x_out := x_out || l_enames(i) || ',';
      END LOOP;
    END SimpleAggClob;
    SHO ERR
    PROMPT ClobAggPrc
    CREATE OR REPLACE PROCEDURE ClobAggPrc (x_out OUT CLOB) IS
    BEGIN
      SELECT clobagg(first_name || '                                        ' || last_name || ',')
        INTO x_out
        FROM employees
       ORDER BY salary;
    END ClobAggPrc;
    SHO ERRand the driving script:
    SET SERVEROUTPUT ON
    SET TIMING ON
    DECLARE
      l_enames_c1     CLOB;
      l_enames_c2     CLOB;
      l_enames_v     VARCHAR2(32767);
      l_timer     timer_set_type := timer_set_type ('Aggregation');
    BEGIN
      Utils.g_id := 'Aggregation';
      SimpleAggChr (l_enames_v);
      l_timer.Increment_Time ('SimpleAggChr');
      ClobAggPrc (l_enames_c1);
      l_timer.Increment_Time ('ClobAggPrc');
      SimpleAggClob (l_enames_c2);
      l_timer.Increment_Time ('SimpleAggClob');
      DBMS_Output.Put_Line ('SimpleAggChr returned string of length ' || Length (l_enames_v));
      DBMS_Output.Put_Line ('ClobAggPrc returned string of length ' || Length (l_enames_c1));
      DBMS_Output.Put_Line ('SimpleAggClob returned string of length ' || Length (l_enames_c2));
      l_timer.Write_Times;
    END;
    SET TIMING OFF
    SET LINES 150
    SET PAGES 1000
    COLUMN id FORMAT A30
    COLUMN line_text FORMAT A120
    SELECT line_text
      FROM output_log
    WHERE id = 'Aggregation'
    ORDER BY line_ind
    /and the results:
    SimpleAggChr returned string of length 5779
    ClobAggPrc returned string of length 5779
    SimpleAggClob returned string of length 5779
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:27.05
    LINE_TEXT
    Timer Set: Aggregation, constructed at 03 Nov 2011 16:27:07, written at 16:27:35
    ================================================================================
    [Timer timed: Elapsed (per call): 0.02 (0.000016), CPU (per call): 0.01 (0.000010), calls: 1000, '***' denotes corrected
    line below]
    Timer              Elapsed          CPU          Calls        Ela/Call        CPU/Call
    SimpleAggChr          9.84         0.36              1         9.84400         0.36000
    ClobAggPrc            9.37         0.32              1         9.37400         0.32000
    SimpleAggClob         8.25         0.22              1         8.25000         0.22000
    (Other)               0.00         0.00              1         0.00000         0.00000
    Total                27.47         0.90              4         6.86700         0.22500
    13 rows selected.

  • Error when inserting more than 500 characters

    Hello all,
    I am not sure if I should be posting here or in the Flex
    Forum, so I apologize ahead of time if I am in the wrong place.
    I am Using a Flex frontend and a ColdFusion backend to edit
    data in a simple Access Database (for testing). I have a ColdFusion
    CFC on the backend that handles everything just fine until I enter
    in more than 500 characters (Actually 510) into my text area and
    then I get the error "Unable to invoke CFC - Error Executing
    Database Query.". Now you might be saying that either the database
    field is not set to handle that many characters or the CFC is
    restricting more than 500 characters, but they are not. The
    database field is set to "memo" and the maxlength in the CFC is set
    to 5000. I am wondering if has something to do with Access
    databases I do not know because I don't use them that often.
    I have tested this over and over and it only throws the error
    if I exceed 510 characters in the Flex TextArea.
    Any thoughts are appreciated.
    The CFC code is below I didn't add the MXML because I figured
    there was nothing special about the TextArea block:

    Very strange as to why this worked but just in case someone
    else has the same problem here is how I got it to work.
    I just changed this line:
    rss_copy = <cfqueryparam value="#arguments.rss_copy_edit#"
    cfsqltype="cf_sql_varchar" maxlength="5000">
    to this:
    rss_copy = '#arguments.rss_copy_edit#"'
    and it worked just fine.

  • Error when sending more than 500 Characters

    Hello all,
    I am not sure if I should be posting here or in the
    ColdFusion Forum, so I apologize ahead of time if I am in the wrong
    place.
    I am Using a Flex frontend and a ColdFusion backend to edit
    data in a simple Access Database (for testing). I have a ColdFusion
    CFC on the backend that handles everything just fine until I enter
    in more than 500 characters (Actually 510) into my text area and
    then I get the error "Unable to invoke CFC - Error Executing
    Database Query.". Now you might be saying that either the database
    field is not set to handle that many characters or the CFC is
    restricting more than 500 characters, but they are not. The
    database field is set to "memo" and the maxlength in the CFC is set
    to 5000. I am wondering if has something to do with Access
    databases I do not know because I don't use them that often.
    I have tested this over and over and it only throws the error
    if I exceed 510 characters in the Flex TextArea.
    Any thoughts are appreciated.
    The CFC code is below I didn't add the MXML because I figured
    there was nothing special about the TextArea block:

    The code should be in my initial post.
    Very strange as to why this worked but just in case someone
    else has the same problem here is how I got it to work.
    I just changed this line:
    rss_copy = <cfqueryparam value="#arguments.rss_copy_edit#"
    cfsqltype="cf_sql_varchar" maxlength="5000">
    to this:
    rss_copy = '#arguments.rss_copy_edit#"'
    and it worked just fine.
    Not the best solution but it works fine now all the
    same.

  • When will Apple offer more than just THEIR brand of cases for the 6 Plus?

    I bought a Project Red leather case for my 6 Plus.  I have also ordered a Tech 21 case, but the shipping from the UK was $15.  I'd love to be able to order a couple of more Tech 21 cases, but I don't want to pay high shipping costs like that again. 

    Yes, I have.  I want Tech 21 since it is my favorite brand.  However, they are from the UK and it costs around $15 to ship to the U.S.  Apple generally has some awesome Tech 21 cases and I'm hoping that they'll offer them soon for the 6 Plus.  Any idea when Apple will offer more than just their brand on their online store?  The closest Apple retail store is a couple of hours from me....

  • Why does does my MacbookPro screen keeps shutting off when I open it more than halfway?

    I Have a very new Mac, and for some reason, the screen goes black when I open it more than halfway. It happens to all the users, and even if it is or isn't charging. The brightening keys also doesn't do anything for it. I don't know if this is connected, but I also have half of the lights on at the dock, it kind of looks like lights on a stage.......
    please help if you can. i can't live like this anymore! 

    Anything that is repeatable can be fixed at the genius bar.
    You appointment for an evaluation is free at an Apple store, in warranty or out.

  • How to use my creative cloud account, downloading apps, to more than one computer, i.e. my desktop and laptop?

    How to use my creative cloud account, downloading apps, to more than one computer, i.e. my desktop and laptop?

    Just download the CC manager to the machines an sign in thru it.
    Creative Cloud Help / Install, update, or uninstall apps
    http://helpx.adobe.com/creative-cloud/help/install-apps.html
    Creative Cloud Learn & Support
    http://helpx.adobe.com/creative-cloud.html
    Creative Cloud / Common Questions
    http://helpx.adobe.com/creative-cloud/faq.html

  • When I update applications more than one account appears.  How do I delete second account

    when I update applications more than one account appears.  How do I delete second account?

    I'm wondering if you have to Apples IDs or iTunes IDs and have puchased apps on both accounts.I have the same issue, and must supply both accounts' passwords in order to update apps. From my research here, there's no way to merge the two accouts. It is aggrivating, indeed.

Maybe you are looking for

  • Update Taxes in PO without Tax code in Purchase Order

    Hi Experts, Taxes percentage are frequently change in Indian business and create new input tax codes for updating the same changes in PO. Please suggest without create new tax codes how can we maintained tax details in PO? Thanks in advance. Regards,

  • OKB9 does not work to derive a Profit Center from Document splitting

    Hi GL Gurus, I am trying receive customer payment with payment difference. Original invoice has two Profit centers so Customer line items have these 2 PCs derived by Doc splitting. I have defined Document splitting characteristic as Profit Center in

  • CD Covers on my 5th G iPod mixed up

    On iTunes the imported cd covers are all correctly shon and assigned to the related title/album. When playing the iPod the covers are often mixed up and not correctly assigned to the related title/album anymore. Any help ?

  • Urgent.....Jcontrol.exe is stopped.

    Hi After several restarts the jcontrol.exe is not up and the status shows stopped in SAP MMC. Please help.....! regards ambicasony

  • CRServer 2013 - how to re-direct audit/config database to another dbserver

    Hi: I am building a Crystal Reports Server 2013.  During installation, I took the defaults and directed the system and auditing database to Sybase SQL Anywhere. I now wish to direct the stuff to another database server. It talks about about re-config