2022.2

Table Of Contents
includinginnerjoins,groupingandsorting,youcanusecustomSQLtomakeaselectionfromthe
database,usingwhateverlanguagethedatabasesupports.
Thequerymaycontainvariablesandproperties,sothattheselectionwillbedynamicallyadjus-
tedeachtimethedatamappingconfigurationisactuallyusedinaWorkflowprocess;see"Using
variablesandpropertiesinanSQLquery"onpage320.
l
Encoding:DefineswhatencodingisusedtoreadtheDataSource(US-ASCII,ISO-8859-1,
UTF-8,UTF-16,UTF-16BEorUTF-16LE).
l
Sort on:Allowstoselectafieldonwhichtosortthedata,inascending(A-Z)ordescending(Z-A)
order.Notethatsortingisalwaystextual.Evenifthesortingcolumnhasnumbers,itwillbesorted
asatext.
WithaCustomQuery,thisoptionisnotavailable.
l
Skip empty lines:Ignoreanyrowthathasnocontent,e.g.onlynullsoremptystrings.Notethat
spacesarecharactersandthusconsideredcontent.
Text file Input Data settings
Becausetextfileshavemanydifferentshapesandsizes,therearemanyoptionsfortheinputdatain
thesefiles.
l
Encoding:DefineswhatencodingisusedtoreadtheDataSource(US-ASCII,ISO-8859-1,
UTF-8,UTF-16,UTF-16BEorUTF-16LE).
l
Selection/Text is based on bytes:Checkfortextfilesthatusedouble-bytescharacters
(resolveswidthissuesinsometextfiles).
l
Add/Remove characters:Definesthenumberofcharacterstoaddto,orremovefrom,thehead
ofthedatastream.Thespinbuttonscanalsoincrementordecrementthevalue.Positivevalues
addblankcharacterswhilenegativevaluesremovecharacters.
l
Add/Remove lines:Definesthenumberoflinestoaddto,orremovefrom,theheadofthedata
stream.Thespinbuttonscanalsoincrementordecrementthevalue.Positivevaluesaddblank
lineswhilenegativevaluesremovelines.
l
Maximum line length:Anylinethatislongerthanthegivenmaximumlinelengthwillbesplitat
themaximumlinelength,asoftenasnecessary.Thisoptionisusedtocut(andwrap)longlines
intologicalblocksofdata.
Themaximumvalueforthisoptionis65,535characters.Thedefaultvalueis80characters.
l
Page delimiter type:Definesthedelimiterbetweeneachpageofdata.Multiplesofsuchpages
canbepartofarecord,asdefinedbytheBoundaries.
Page 310