CR & LF characters at the end of records when using delimited flat file (CR is missing)

Hi All,
I have a requirement where data of SQL query needs to be loaded to a CSV file.
The row delimiter of the CSV file has to be CR-LF.
In the flat file connection manager, I have mentioned Header Row delimiter as "{CR}{LF}" and under columns section, row delimiter is specified as "{CR}{LF}".
But when I open the detsnation CSV file using notepad++, I see only "LF" at the end of all rows.
Can you please let me know how can I get both CR & LF at the end of each row
Below is the screen shot of the flat file connection manager which I have used for CSV destination file:
Raksha

Hi Raksha,
Just as Vaibhav said, I’m curious why you need use “CR & LF” as row delimiter in Flat File Connection Manage. Since you can use "CR" as row delimiter in Flat File Connection Manager and it worked fine, you can directly specify "CR"
as row delimiter in Flat File Connection Manage.
Besides, if you still want to replace “LF” with “CR & LF” in the text file, we can use Notepad++’s Find/Replace feature or Edit -> EOL Conversion to achieve the goal. Then we can specify "CR & LF" as row delimiter in Flat File
Connection Manage.
The following blog about conversion between “LF” and “CR & LF” row delimiter in Notepad++ is for your reference:
http://sqlblog.com/blogs/jamie_thomson/archive/2012/08/07/replacing-crlf-with-lf-using-notepad.aspx
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • How to add spaces at the end of record

    Hi Friends,
    i am creating a file which contains more than 100 records.
    In ABAP i have internal table with on field(135) type c.
    some time record have length 120, somtime 130 its vary on each record.
    but i would like to add space at the end of each record till 135 length.
    Can you please help me how to add speace at the end of record.
    regards
    Malik

    So why did you said that in your first posting? My glass sphere is out for cleaning...
    Instead of type c use strings and add spaces until they have the appropriate length.
    loop at outtab assigning <pout>.
      while strlen( <pout>-val ) < 135.
        concatenate <pout>-val `` into <pout>-val.
      endwhile.
    endloop.

  • Is there a way to prevent Robohelp WebHelp from appending characters to the end of the URL address for a TOC Entry?

    I am running RoboHelp 10 on Windows 7 Enterprise SP1 64 bit OS.
    WebHelp is appending characters to the end of the TOC entry's URL address. The characters "bc-n" where n is a number are being generated for all of the TOC Page Entries when I generate WebHelp output. We are exporting the HTML files for import into an application. The TOC Page Properties Link to: property does not contain the characters in RoboHelp.
    We have standardized names defined for our application and the appended characters are not going to work in the application.
    cid:[email protected]
    When I use the generated html output in IE10 Version 10.0.9200.16635 Update Versions: 10.0.7 (KB2846071) the characters show up in the URL when I hover the mouse over the TOC entry as shown in the screenshot below.
    cid:[email protected]
    The two screenshots show that the Link to property does not have the characters "bc-7" but the URL address does.
    Is there a setting or way to configure RoboHelp to prevent Robohelp WebHelp from generating and appending characters to the end of the URL address for TOC Entries?

    I have never known Rh add any characters so I think something else is at play here. Please open one of the sample projects and see what happens there. Click Open on the RoboHelp Starter page and then click Samples in the ribbon on the left.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • BUG: Extra characters at the end of attachment file names

    I received complaints that my attachments didn't open on the PC's of the recipients. After I saw the messages I noticed there were extra characters at the end of their file names. That's why they wouldn't open. When I looked into my sent mail folder it was there as well. The addition took place when I sent the mail, while composing everything looked fine. It took me a while to realize the pattern. There was one extra for every non-ASCII character in the file name.
    Apparently Mail.app is using two different libraries. The other one counts the non-ASCII characters as two while the other doesn't. I don't know whether Finder still uses MacRoman or Unicode, but this seems to relate to double-byte characters.
    The short term solution is to use only ASCII for file names, but that's not what OS X is all about.

    The class files are broken. Recompile them. If you're uploading them, doublecheck if the FTP program used doesn't do mad things with binary files.

  • Try this: extraneous characters on the end of your password

    Can someone else verify this?
    try adding some extraneous characters to the end of your password on ssh login.
    For my fully patched solaris 9 and 10 systems the garbage on the end is accepted as if it was the correct, exact length version.
    Smells like a bug, though I can barely believe it would have survived this long..
    thanks

    Standard unix crypt only holds first 8 characters of password.
    Its not a bug, its a feature :-).
    If you need longer password then you can change the password crypt scheme.
    This can be done in solaris 10, but I don't think it can be done in solaris 9.
    Its controlled by /etc/security/policy.conf

  • What is the best way to get the end of record from internal table?

    Hi,
    what is the best way to get the latest year and month ?
    the end of record(KD00011001H 1110 2007  11)
    Not KE00012002H, KA00012003H
    any function for MBEWH table ?
    MATNR                 BWKEY      LFGJA LFMON
    ========================================
    KE00012002H        1210             2005  12
    KE00012002H        1210             2006  12
    KA00012003H        1000             2006  12
    KD00011001H        1110             2005  12
    KD00011001H        1110             2006  12
    KD00011001H        1110             2007  05
    KD00011001H        1110             2007  08
    KD00011001H        1110             2007  09
    KD00011001H        1110             2007  10
    KD00011001H        1110             2007  11
    thank you
    dennis
    Edited by: ogawa Dennis on Jan 2, 2008 1:28 AM
    Edited by: ogawa Dennis on Jan 2, 2008 1:33 AM

    Hi dennis,
    you can try this:
    Sort <your internal_table MBEWH> BY lfgja DESCENDING lfmon DESCENDING.
    Thanks
    William Wilstroth

  • X characters from the end

    Hi,
    Does it exist a function how returns a specified number of characters from the end of a text string, like the function "RIGHT" in Excel ?
    Thank you.
    Patrick

    Yep, use SUBSTR with a negative number:
    SQL> select substr('Hello world!',-3) from dual;
    SUB
    ld!

  • The starting quote marks at the end of a line in my epub file are separated from the words quoted.

    The starting quote marks at the end of a line in my epub file are routinely separated from the word quoted which appears on the next line. The formatting contractor accurance.com who prepared this epub file tells me that this is a feature of Adobe Digital Edition 2.0 and that there is nothing they can do to correct this. Are they correct, or else how can this problem be overcome?

    I'm not sure about buying css style sheets. 
    You don't need one for each book; if you want to have a series of books all with the same general format,
    then they should all use the same style sheet on a given device, but maybe different style sheets for different devices.
    All the books will then have one consistent look on a given device, and a different consistent look on another device.
    ADE only runs on PCs and Macs.  There are lots of different ereader software apps out there for running on different devices.
    For a dedicated device, you are stuck with the reader the device provides.
    For tablets you can download different ereader apps, for example Bluefire (my favourite, ios, Android), Aldiko (android) and DReader and DL Reader (windows RT).
    I don't know if the readers/apps are derived from the same root as ADE in any way and likely to show similar bugs.
    If it is not DRM, you should certainly try on Calibre, which is the most popular (free) ereader app for computers.
    If you care to create a very short non DRM extract (complete with css) and post it somewhere on the web I'll have a quick look.
    If you have inclination to get more involved yourself,
    there is free software called sigil (https://code.google.com/p/sigil/) that will help you get off the ground and experiment.

  • TS1424 trying to add Itunes match, and am almost at the end of installation when an error message pops up. it says  error 4010 cannot connect to ittunes store at this time try again later. what is the problem?

    trying to add Itunes match, and am almost at the end of installation when an error message pops up. it says  error 4010 cannot connect to ittunes store at this time try again later. what is the problem?

    Contact Apple support for warranty service.

  • I'm uploading a photobook I made to be published.  I need assistance in getting it to apple.  The book is assembled and gets to the end of uploading when I get an error message, an error occurred while uploading.  I have been trying all night.  Help!

    I'm uploading a photobook I made to be published.  I need assistance in getting it to apple.  The book is assembled and gets to the end of uploading when I get an error message, an error occurred while uploading.  I have been trying all night.  Help!

    Welcome to the Apple Community.
    I have seen previous versions mentioned in a pop up message before on iCloud.com, but I'm not really sure at all how it would help, as I couldn't get it to do anything.
    The best advice I have at this time is to back up your work on your iOS device by regularly saving it to iTunes, if anything goes wrong you can then either load it into the numbers app again on the device or recover it via iTunes on your computer.
    My syncs are immediate, I never get chance to see if it works in the background, sorry.

  • HT1338 I try to update twice at the end it show me could not save file or corrupt

    I try to update twice at the end it show me could not save file or corrupt

    10.7.5 ?
    Tried direct download?
    http://support.apple.com/kb/DL1582

  • Lost sound on my back camera when I record it just record the background noise not my voice but in the front it records fine using the iphone c

    lost sound on my back camera when I record it just record the background noise not my voice but in the front it records fine using the iphone c

    Mabye one of your microphones broke. Take it to the apple store they will be able to help you.

  • Extract records to Desktop in flat file

    How to Extract records to Desktop in flat file.
    I am not able to do it from Syndicator,i tried many options.Some one can help.
    I want to extract the records from MDM to Desktop in Excel/Flat file format,whether it is from Data Manage or Syndicator.
    Immediate req.

    Hi Shifali,
    I want to extract the records from MDM to Desktop in Excel/Flat file format,whether it is from Data Manage or Syndicator
    - MDM syndicator is the tool to export data in MDM .
    - Data in MDM repository can be viewed and managed in MDM Data manager.
    - What ever data is present in data manager will be exported outside using MDM syndicator.using your search criteria.
    How to Extract records to Desktop in flat file.
    I am not able to do it from Syndicator,i tried many options.Some one can help.
    - Master data in MDM rep can be syndicated using MDM syndicator using 2 main formats Flat and XML.
    - For local syndication to your desktop in flat format you need to follow the bewlo steps:
    1) Create destination items manually in Syndicator under destination item tab.
    2) Map this destination item to the source fields whcih are your mdm rep fields.
    3) Use a serach critera if you wnat to filter records.
    4) Click the export button in the syndicator
    5) It will ask for the output file name and format
    6) Give a name and select teh format form dropdown in the window (it can be text,excel.access any thing)
    7) You output file is syndiacted to your local desktop.
    Follow the below link for Flat syndication:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60ebecdf-4ebe-2a10-cf9f-830906c73866 (Flat Syndication)
    Follow the below link for XML syndication:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e04fbbb3-6fad-2a10-3699-fbb40e51ad79  (XML Syndication)
    This will give you the clear distinction between the two.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Can't get sound to record when using isight in my macbook pro

    for some reason it just records the video no audio when using my macbook pro. any thoughts?

    flux302 wrote:
    for some reason it just records the video no audio when using my macbook pro. any thoughts?
    Verify your iMovie "Voiceover" audio source is set to use your MBP's internal Mic before you record.
      http://docs.info.apple.com/article.html?path=iMovie/7.0/en/10311.html
    (You might also need to change it in System Preferneces > Sound > Input.)
    Also verify the microphone's "Level" is not muted or adjusted too low in either place.
    Mac Pro Quad Core (Early 2009) 2.93Ghz w/Mac OS X (10.6.2)  MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.2)
    LED Cinema Display  G4 PowerBook 1.67GHz (10.4.11)  iBookSE 366MHz (10.3.9)  External iSight

  • CDPOS for the moving avenge price when using MIRO, MIGO & VL31N etc.

    Hi
    Is there a way of tracking all changes with CDPOS for the moving avenge price when using MIRO, MIGO & VL31N etc.
    We can show changes for MR21 in CDPOS but we need to reflect all changes made to the moving avenge price for MIRO, MIGO & VL31N etc. We need to run a report that will show all these changes.
    We run a report to look at all the change records for Moving Avenge Price, We use tables CDPOS & CDHDR, then Change the document Object for both tables to material, so when the report is run you can identify the material by the object value field
    u201CIf you look at CDPOS the fields where reading the data from in the u201CNew Value fieldu201D is CDFLDVALN when I do an F1u201D
    u201CIf you now check MBEW on the u201CMoving Avenge Price fieldu201D, the data reads from VERPR which is the field we need to reflect the changes. If we can change this then the report will worku201D
    Can you help please?
    Edited by: Derrick smith on Nov 28, 2008 1:51 PM

    Hello Jürgen,
    Thank you for your quick reply. I read the note -- it describes the symptom perfectly, and gives example cases which match our situation. However, no solution or recommendation is given. Does it mean that this way of valuating cancellations is not seen as a malfunction, and cannot be changed?
    Thanks in advance.
    Regards,
    Sergei

Maybe you are looking for

  • 64-bit version of Adobe Audition 3.0?

    Hi. It appears the 64-bit enthusiasm is growing around the world, even in 3rd World countries! My question is this: Does Adobe have a 64-bit version of Audition to run on Vista Ultimate 64-bit?

  • Getting Business Area

    Hi, I have the PAYMENT ADVISE NUMBER from table FEBEP (Electronic Bank Statement Line Items table). How do I get the appropriate BUSINESS AREA (field GSBER) for this payment advise? Thanks in advance.

  • How can I scroll to future years (12 months at a time) in latest version of iOS on Windows PC?

    How can I scroll to future years (12 months at a time) in latest version of iOS iCloud on Windows PC?

  • Kernal Panic - MACBOOK -

    I have just reformatted and reinstalled Mac 10.7.5 after having repeated crashes. And it seemed good but have just had another crash. Used disc utility and got same strange replies to Disc Verify as well. Too long to post the kernel panic log but her

  • Print Adobe form pages on different printers based on the condition

    Hi All, I am new in Adobe forms. We have requirement to print first 5 line items in adobe form (which are printing on first page) on one printer and remaining pages on another printer. What solution I was thinking was, in print program call the adobe