Issue using Tools- Options- Result to Text to customize column delimiter

Hi all,
I need to export a large dataset (greater than 6 GB) to text file.
Since the dataset contains special characters, I cannot use Import and Export Wizard to export it into text file. (Error Message).
So I used Tools --> Options --> Result to Text. However, I cannot actually customize the delimiter.
First of all, I can only enter one character as the delimiter, and thus no character combination allowed.
Secondly, I entered # and ^ as the customized delimiter. Neither of them worked. The delimiter is always | (pipe), which does not work well for my dataset.
Does anybody have the same experience? Please help.
Thanks.

You don't need to do a replace, I think it will complicate the things.
Use the Import-Export Wizard to export the data.
If you have "|" in your data still you can go ahead and use the pipe character as delimiter. However in that case you should mention the text qualifier which will be used to enclose each column value.
This can be a single or many characters.
and here is how my output looked like after I exported the below table
create table TestExport(id int identity(1,1), textdata varchar(100))
insert into TestExport values('Some|deletimete~data');
I used " (double quote) as the text qualifier here
Here you will be able to distinguish between the actual delimiter and the delimiter character appearing in the data.
While exporting the data into the another data destination(I am assuming you are not going to sit and read a 6GB text file:) ), you can mention the  same text qualifier and import the data
Satheesh
My Blog |
How to ask questions in technical forum

Similar Messages

  • I have Acrobat XI and am trying to add pages to a pdf. Tutorials instruct to use Tools, Options or Page Thumbnail to get to a drop down command of Insert Page, does not appear as my choices.

    I have Acrobat XI and am trying to add pages to a pdf. Tutorials instruct me to use Tools, Options or Page Thumbnail to get to a drop down command of Insert Page, but I have few choices in any of those places and Insert Page is not any of them.

    What do you see, then?
    On Thu, Feb 26, 2015 at 4:14 PM, lindab5415 <[email protected]>

  • Firefox/3.5.10 to view cookies knowledge base says use tools/option: no tools/option

    On freebsd7.0 or 8.2 firefox3.5.10. After upgrading the View Cookies add on no longer works.
    The knowledge base says to view cookies use tools/options/Privacy. There is no Option under Tools.
    How can I view a site's cookies?
    Previous to View Cookies, I accessed by entering something as an URL that contain the cookie name, but I do not remember the syntax.
    Can you give me the syntax.

    I just looked again and firefox/ 3.10.1 has a link under edit/preferences/privacy "Remove Individual Cookies" that does let you look at the cookies. It sure is not a nice as the View Cookies 1.10.1extension before it quit working
    Thanks for the help

  • Poor fonts in web pages, cannot change using Tools/Options

    Downloaded firefox 3.6 using windows xp. Web pages show very poor fonts. Unable to change fonts using the Tools/Options.

    You can enable ClearType system wide for all programs to make other programs like Firefox use it.
    * http://support.microsoft.com/kb/306527 - HOW TO: Use ClearType to Enhance Screen Fonts in Windows XP
    Control Panel > Display > Appearance > Effects: "Use the following method to smooth edges of screen fonts"

  • FF4 has lost my personalised igoogle homepage ( it just defaults to the bog standard igoogle page), i have tried to reset it using tools- options- general- Use Current Page , but this still doesn't work, why not ?

    The problem also seems to be connected to the errors of "keep me signed in" and "Log me on automatically each visit" not functioning. As my computer is a home computer and i am the only user, i was wondering if anyone out there has any solutions ?

    Such details are stored in a cookie. If you want to prevent Google from redirecting you then you need to make an allow exception to keep that Google cookie.
    Tools > Options > Privacy > Cookies: Exceptions
    Also make sure that you do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"

  • Issue Using C# to Get RTF Text From Clipboard to Outlook With Formatting and Without Encoding Tags

    I have created a little application that gathers data from various text boxes and then combines the data into a formatted richTextBox.  A person using the tool asked if I could then add a button that would allow that text (with formatting) to be copied
    and pasted into an Outlook Email.  When I do this, I can get the text into an email, but I either strip out the formatting or I get all the RTF encoding tags to come along with it. 
    I have tested to see that the copy of the data from the richTextBox has indeed made it to the clipboard correctly.  This has been verified by the fact that I can manually press "ctrl" + "v" and I can past the text with proper
    formatting into the mail body.
    I do know that I can brute force things by trying to manually wrap HTML tags around my textBox fields and then pipe that into an HTMLBody property.  In fact I can get a lot of things to work with the HTMLBody property, but while it is nice that will
    work, I feel that I must be missing something really simple while trying to work with RTF.
    I currently am pasting (using the Clipboard.GetText(TestDataFormat.RTF)) the RTF data into the Body property of the mail item.  This is bringing in all the RTF encoding tags.  I have tried to paste this directly into the RTFBody of the mail item,
    yet an execption gets thrown when executed.  Oddly, though, if I change RTFBody to HTMLBody, I do not get the exception, but I still have the RTF encoding tags in it.  Though if I feed the HTMLBody property straight, HTML text with the encoding tags,
    it will render properly.
    This has me confused then why if I feed HTMLBody HTML text with the encoding tags that it will render, but if I try and do the same for RTFBody and feed it RTF text with encoding tags it still throws an exception.  Any help in the matter would be greatly
    appreciated.  I have included the code snippet below for sending the richTextBox information to the clipboard and then attempting to retrieve it and paste it into an Outlook email.
    Thanks for the help.
    Some pertinent information:
    Blend for Visual Studio 2015 CTP6 (I switched from VS2012 as intellisense was added to Blend in 2015)
    Because of this Systems.Windows.Forms is not in use
    private void buttonEmail_Click(object sender, RoutedEventArgs e)
    //Copy richTextBox information to Clipboard
    Clipboard.Clear();
    richTextBox.SelectAll();
    richTextBox.Copy();
    //Get current date to add to email subject line
    DateTime myNewDate = new DateTime();
    myNewDate = DateTime.Now;
    //Create Email
    Outlook.Application myNewApplication = new Outlook.Application();
    Outlook.MailItem myNewMailIoI = myNewApplication.CreateItem(Outlook.OlItemType.olMailItem) as Outlook.MailItem;
    myNewMailIoI.To = " "; //An attempt to ensure that the focus moves down to the body field
    myNewMailIoI.Subject = "IoI - " + myNewDate.Date.ToString("d");
    myNewMailIoI.BodyFormat = Outlook.OlBodyFormat.olFormatRichText;
    //Pasting data into body of email
    myNewMailIoI.Body = Clipboard.GetText(TextDataFormat.Rtf); //This will past the text with encoding tags into email
    //If this section is uncommented, it will add a properly formatted HTML text to the email
    //myNewMailIoI.BodyFormat = Outlook.OlBodyFormat.olFormatHTML;
    //myNewMailIoI.HTMLBody = "<p>This stinks!!!</p>" + "<p style='color: green; font-size:10pt; font-family:arial'>different font and color</p>";
    myNewMailIoI.Display(); //Allow for window to be minimized
    myNewMailIoI.Display(true);

    Ok, I found the solution.  Part of the issue was caused by the confusion of the HTML body property acting as a text encoder for HTML text when a string is passed in vs the RTF Body property needing to have a plain text file taken and encoded into a
    byte stream.  Even though the RTF text is in readable text (albeit with the RTF Encoding Tags) it needs to be reencoded into a series of bytes. 
    This is where I failed to understand the previous answers.  I knew that RTF Body needed to have a array of bytes, and the previous answers seemed to indicate that the data in the clipboard was already in this byte format (this may have just been my
    misunderstanding) and that I needed to somehow take this byte array and do something with it.  My misunderstanding was that all the methods for getting values from the clipboard returned strings and not bytes.
    after some digging last night and with the few hints that were offered before, I came across a post on CodeProject (apparently I cannot post links, so I will try and include this so that you can find the postcodeproject(DOTCOM)/Questions/766917/How-to-convert-richtextbox-output-into-bytearray). 
    This showed that I needed to take the raw, RTF text with its RTF encoding tags from the clipboard and and encode it to a byte array and then pass this into the RTF Body property.  Included below is the final code such that I hope that it helps some other
    person as there seem to be a lot of searches for this on the web, but not a lot of direct answers.
    using System.Text;
    using Outlook = Microsoft.Office.Interop.Outlook;
    private void buttonEmail_Click(object sender, RoutedEventArgs e)
    //Copy richTextBox information to Clipboard
    Clipboard.Clear();
    richTextBox.SelectAll();
    richTextBox.Copy();
    //Get current date to add to email subject line
    DateTime myNewDate = new DateTime();
    myNewDate = DateTime.Now;
    //Create Email
    Outlook.Application myNewApplication = new Outlook.Application();
    Outlook.MailItem myNewMailIoI = myNewApplication.CreateItem(Outlook.OlItemType.olMailItem) as Outlook.MailItem;
    //Add Subject
    myNewMailIoI.Subject = "IoI - " + myNewDate.Date.ToString("d");
    //Set Body Format to RTF
    myNewMailIoI.BodyFormat = Outlook.OlBodyFormat.olFormatRichText;
    //Converting RAW RTF data from string to bytes. THIS IS THE FIX THAT WAS NEEDED TO MAKE IT WORK
    string myNewText = Clipboard.GetText(TextDataFormat.Rtf);
    byte[] myNewRtfBytes = Encoding.UTF8.GetBytes(myNewText); //This line cost me way too many hours of lost sleep!!!
    //Inserting RTF bytes into RTFBody property
    myNewMailIoI.RTFBody = myNewRtfBytes;
    myNewMailIoI.Display(); //Displays the newlycreated email
    //If this section is uncommented, it will add a properly formatted HTML text to the email
    //myNewMailIoI.BodyFormat = Outlook.OlBodyFormat.olFormatHTML;
    //myNewMailIoI.HTMLBody = "<p>This works for the HTMLbody property!!!</p>" + "<p style='color: green; font-size:10pt; font-family:arial'>this renders properly</p>";

  • Using RegExp to remove unnecessary texts in a column.

    Hello Everyone,
    I have a string that contains a lot of data separated by a semicolon. Now, what I want to do is to extract all of my needed data which are just hardware. Here is an example of the text:
    DUTBOARD|A1DT25522;LOADBOARD|A2LB1896;PROBECARD|A4PC40257;PROGRAMNAME|DS2781;TESTOPTION|POSTBAKE;TESTTEMP|ROOM TEMP
    Now what I want is for it to be just like this:
    DUTBOARD|A1DT25522;LOADBOARD|A2LB1896;PROBECARD|A4PC40257;
    What I was planning to do is to just get the DUTBOARD, LOADBOARD and PROBECARD and just concatenate it. Below sql code gets the value of the Loadboard:
    SELECT
      regexp_substr('LOADBOARD|A2LB12833;PROGRAMNAME|MAX2659_H;PROGRAMREV|H;TESTOPTION|FR2659_H;TESTTEMP|25;STD IPH|6545.4545454545', '(;|^)LOADBOARD\|(.*)(;|$)', 1, 1, '', 2) lol
    FROM dual;
    My problem is that it returns all of the text past the LOADBOARD instead halting when it sees a semicolon. Can you help me? By the way I am using oracle 11g
    Thanks in advance.

    with testdata as (
    select 1 id,
    'DUTBOARD|A1DT25522;LOADBOARD|A2LB1896;PROBECARD|A4PC40257;PROGRAMNAME|DS2781;TESTOPTION|POSTBAKE;TESTTEMP|ROOM' temp
    from dual union all
    select 2,
    'LOADBOARD|A2LB1896;PROBECARD|A4PC40257;PROGRAMNAME|DS2781;TESTOPTION|POSTBAKE;TESTTEMP|ROOM;DUTBOARD|A1DT25522' temp
    from dual union all
    select 3,
    'LOADBOARD|A2LB1896;PROBECARD|A4PC40257;PROGRAMNAME|DS2781;DUTBOARD|A1DT25522;TESTOPTION|POSTBAKE;TESTTEMP|ROOM' temp
    from dual
    select distinct
    id
    ,listagg(temp, ';') within group (order by id)
    over (partition by id) temp
    from (
    select
        id
        ,regexp_substr(temp
                     ,'[^;]+'
                     ,1 ,level
        ) temp            
    from testdata
    connect by
        level <=
        regexp_count(temp,'\|')
        and
        prior id = id
        and
        prior sys_guid() is not null
    where
    substr ( temp
            ,1
            ,instr(temp, '|') - 1)
    in ('DUTBOARD','LOADBOARD','PROBECARD')
    id temp
    3 LOADBOARD|A2LB1896;PROBECARD|A4PC40257;DUTBOARD|A1DT25522
    2 LOADBOARD|A2LB1896;PROBECARD|A4PC40257;DUTBOARD|A1DT25522
    1 DUTBOARD|A1DT25522;LOADBOARD|A2LB1896;PROBECARD|A4PC40257
    BTW, it woud be much, much easier if you would know the expression you want to exclude because than it can be done with regexp_replace instead of regexp_substr.

  • Firefox 3.6.13 unresponsive on choosing Tools | Options

    Today I noticed that when I go to Tools | Options, Firefox locks up. Typically, the window title bar will say "(Not responding)"--a Windows thing--but in this case it says nothing. The title bar gets slightly grayed out like it does when it is unresponsive. I have to end the process via Task Manager.
    I had not installed anything, just updated existing items recently.
    I disabled all add-ons - didn't help.
    I updated all plug-ins - didn't help.
    I reinstalled Firefox 3.6.3 - didn't help.
    I reinstalled Firefox 3.6.13 (current) - didn't help.
    One thing that is curious is that I have had issues with Tools | Options in the past--usually I hand-enter each cookie that I will accept, but Firefox has deleted all of these cookies twice, so a week ago I switched to accepting first-party cookies only.
    I am using 3.6.13 on Windows 7.
    Add-ons: Gmail Checker 2.4.2, IE Tab 2.11.21.3, Java Console 6.0.22, Menu Editor 1.2.6, Tab Mix Plus 0.3.8.4
    Plug-ins (all up to date): Adobe Acrobat, iTunes Detector, JDK, Java Platform, Office 2010, WMP Plug-in, Mozilla Default Plug-in, QuickTime Plug-in, Flash, Shockwave, Windows Genuine Advantage

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]

  • What happened to Tools/Options/Applications

    I am using 3.6.17 and can no longer figure out how to change my PDF viewer. On a previous system running with Firefox 2 I added Foxit as an alternative to Acrobat and want to do the same on this one.
    The Tools/Options menu has gone from:
    Main
    Tabs
    Content
    Applications *
    Privacy
    Security
    Advanced
    to
    Main
    Tabs
    Content
    Feeds *
    Privacy
    Security
    Advanced
    What is Feeds and where has Applications gone?
    Nowhere can I find any other method to change what software Firefox is using to open application files.
    Mozilla Help has proven useless e.g. the information at
    "http://support.mozilla.com/en-US/kb/Managing file types"
    and
    "http://support.mozilla.com/en-US/kb/Opening PDF files within Firefox"
    describe using Tools/Options/Applications but there is no Applications any more.
    I've read the uses of about:config but nothing in the list seems relevant to PDFs.
    Can anybody point me in the right direction?

    Your issue with a missing Application tab can be caused by an extension or theme that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    * [[Troubleshooting extensions and themes]]

  • The Tools , Options then the Advanced Tab, that the Allow 3rd Party to downlaod updates is missing.

    I updated Firefox to 16.0.1 and then I checking to see that the download went okay and according to the download history everything went okay, however on the Tools, Options then Advanced Tab, that do you want to Allow 3rd Party to download is missing, I don't know what happened. On the last download the 15.0, this component downloaded, and I checked it so that I can download the updates.
    Do I need to uninstall this Firefox and reinstall it? Did I get a corrupted version?
    The update worked okay on my laptop & my husband computer but not mine.
    Please contact me.
    Thank you,
    Mrs. Mumm
    my email is: [email protected]

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    To see all history and cookie setting, you can use:
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Firefox closes when "tools"+ "options" clicked & won`t respond to Typed URLs but ok with "bookmarked"urls

    Investigating why FF was using so much memory I was advised to use "Restore Firefox" button.
    Did that but now I can`t use "tools" "options" `cos it closes the browser. Other menus under "tools" work OK.
    If I try to download any updates for plug-ins etc the FF browser closes down.
    Can`t browse my images folders to add to interactive sites.....closes down FF
    Can type a URL but nothing happens but if I enter a "bookmarked" url or a "history" url then it is OK
    Firefox is 16.0.1
    Any help appreciated please.

    Thanks for your response.Unfortunately when I try to download '''anything''' my browser closes so I can`t reinstall Firefox.
    Many of the fixes say "go to Tools & Options" but when I click on Options the browser again closes.
    I seem to have lost access to IE some while ago and have been using Firefox OK up until recently, but then my computer started to go very slow and the Task Manager keeps showing 100% usage of the CPU.
    When I start the pc with only the desktop displaying, the CPU usage is 60-70% and around 35 processes are running. Is this normal?
    When I open Firefox the usage increases rapidly until the CPU shows 100%.
    It was while resetting Firefox to try and sort this usage problem that I lost my download ability and the use of "tools" then "options" and also urls that are typed in.(bookmarks & history ok)
    Any advice welcome.

  • Text field properties-Using the 'required' option in the text field properties.

    Using the required' option in the text field properties.
    The 'help' manual describes the 'required' function as this: Required Forces the user to fill in the selected form field. If the user attempts to submit the form while a required field is blank, an error message appears and the empty required form field is highlighted.
    My users ARE not submitting the form, they open the pdf, fill it out and print it. HOW can I, make a field "required', I don't want them to skip/leave blank specific fields. However, if I choose the box 'required' in the text field properties, and I begin filling out the form, I can just tab past that field that I've choose as 'required', and I do not get
    prompt/error message or anything, it allows me to save, or print.
    I WANT SOME TYPE OF message (similar to enter a company order form
    off the web, where you can't continue without filling out 'required' fields).
    Is there a step/option I am not doing?

    Then you are going to have to write some JavaScirpt to be executed by the "Will Print" document action to check all the requried fields, either by name or by the 'required' property and handle the issue of the imcomplete fields. You will not be able to stop the print, but you could display and error field so the user knows the form is incomplete and the printed form also conatains this information.

  • "Recognize Text Using OCR" Option Grayed Out in Acrobat 9 Pro (9.5.1)

    Running Adobe Acrobat 9 Pro.  I'm working with electronically filed court documents.  I regularly use the OCR tool (Document -> OCR Text Recognition -> Recognize Text Using OCR...) on these court documents.
    Problem is, every once in awhile, I'll run into a document where the "Recognize Text Using OCR" option is inexplicably grayed out.  I have no idea what is causing this.  I have checked the Document Properties and confirmed there are no security restrictions for the document.  It happens inconsistently, in that OCR will work with a document filed by an attorney in one case, but it won't work in the same kind of document filed by the same attorney in a different case.
    Any help getting OCR to work on these few rogue documents is appreciated!

    Form created with LiveCycle Designer are XML forms in a PDF wrapper and many of the usual PDF properties are not available. This is like embedded rich media in a PDF. If you want to research this, Adobe and ISO have the PDF Reference manual available as a free download.

  • Just installed 6.0.1 in place of 3. whatever. Text size has reduced, on some sites, and tools/options makes no difference

    I have just installed 6.0.1 in place of 3 something. The text size on BBC and pprune has reduced. I have done all I can with tools/options, but the requested changes, even using advanced, just do not stay in place.
    Can I go back to 3 something, or should I switch to Chrome?
    XP SP 3. Otherwise perfectly OK.

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    You can use an extension to set a default font size and page zoom on web pages:
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • Firefox won't open PDF files after I removed older version of PDF-xChange Viewer and installed the lastest version of PDF-xChange Viewer. MS Explorer which I am now force to use works OK. I have checked the Applications window in Tools/Options and it l

    Firefox no longer opens PDF files. Explorer works OK. I have checked the Applications window in the Tools/Options and it says I am using PDF-xChange viewer....It just does not do anything. I get the message in the Download Error window which says...."could not be saved, because you cannot change the contents of that folder. Is the same error which I get when I attempt to open a PDF file on a webpage using the Firefox browser....Explorer works OK so I am now forced to Explorer to read PDF files via a browser.
    == This happened ==
    Every time Firefox opened
    == After removing a old copy of PDF-xChange Viewer and updating to the last version

    The error message suggests that the file (pdf) that you're trying to download cannot be saved in the folder Firefox tries to save it in.
    This can be due to several things - it could be a non-existing folder (could be a problem with the updated application), the hard drive could be too full to store the file (less likely if you can generally surf the net without error messages) or it could contain an error.
    To complicate things a little further, it seems to me that you have (at least) 3 different PDF-handling plugins in Firefox from different programs:
    PDF-XChange Viewer Netscape Gecko Plugin
    Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    Zeon PDF Plugin For Mozilla
    This shouldn't matter too much, thou, as it will most likely simply use either the latest installed or the first one it finds when looking up associations for files of type 'pdf'.
    First, in Tools > Options... > tab General > section File download, select "Save files in" and Browse your way to a (non-writeprotected!) folder on a drive where you're certain there is enough free space - like the Desktop folder to make the files end up on your Windows desktop.
    Second, under Applications as you mention yourself, find all document types related to PDF files, and set these to one of the programs. Check the entire list to be sure there isn't one hiding under one of the other programs' document types (Adobe Acrobat document, PDF X-Change and Zeon).
    Restart Firefox, and try opening a PDF again.
    If it fails once more, try changing the documents again to one of the other programs, like "Use Adobe Acrobat (in Firefox)".
    If it STILL fails, change it to simply "Save file". Then you can simply browse your way to the download folder with Windows Explorer, and doubleclick the PDF file to see which program actually handles PDF files as default on the machine, and if it works properly.
    If Firefox flatly refuses to save the PDF files in a folder which you're certain both exist and has space for the file, some (probably security related) program is most likely interfering with Firefox, preventing it in storing PDF files on the system.

Maybe you are looking for