Ideas of how to deal with a non-conforming CSV file?!

Hi there folks,
I've been given a CSV file of which I now wish to import into
VizionDB --
unfortunately all of the text fields are not surrounded by
quotation marks
and there's some 9,000 records in total!
Other than going back to my client, is there anything I can
do with said CSV
file to correct the situation?
Many thanks in advance, Mark ;-)

If you want quotes around all the fields, and you currently
have quotes around
none of the fields, you could probably do this using
find-and-replace in a word processor.
Open up the CSV file with 'word' or a similar word processor.
The important thing is that the word processor must be able to do a
find and replace on 'special' characters, like 'return'.
Use find and replace to:
Replace all 'comma' characters with the sequence: quote comma
quote
Replace all 'return' characters with the sequence: quote
return quote
You should then find that your CSV text has quotes around
every record, but you'll have an extra quote character at the very
start and very end of the file (on separate lines), which you'll
need to delete by hand.
Of course, make a backup of your data first - and this won't
work if some of your columns already have quotes, or if some of
your fields actually use the 'comma' character inside the field
data.
- Ben

Similar Messages

  • When I attempt to connect my new MacBook Air to my home network I receive a dialogue that says " Could not join name of network .  A connection timeout has occurred.  Any ideas on how to deal with this?

    When I attempt to connect my new MacBook Air to my home network I receive a dialogue that says " Could not join <name of network>.  A connection timeout has occurred.  Any ideas on how to deal with this?

    Please review the following Apple Support article for assistance with troubleshooting wireless connections.
    You may also find this OSXDaily article helpful as well.

  • How to deal with special character in source file

    Hi experts,
                      i am doing a file to file scenario in which my source file contains many special characters when i am puting this file into moni its going with the special character .My source file is a fixed length file so in content conversion i have specified the file length but due to these special charcters these field lenght is also varing.So please guide me how to deal with these special characters in sender adapter
    regards,
    Saurabh

    you could try using a Java Mapping to change the encoding manually. For that, set the encoding of the OutputFormat of the XML you'll serialize. Try the following code piece for the mapping (inside a try/catch declaration):
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder documentBuilder = factory.newDocumentBuilder();
    Document input = documentBuilder.parse(in);
    OutputFormat format = new OutputFormat(XML, "ISO-8859-1", false);
    XMLSerializer serializer = new XMLSerializer(out, format);
    For more details check this guide:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42

  • When i try to connect my iphone to itunes it comes up with a message saying "itunes could not connect to this iphone, an unknown error has occured (0xE8000012) any ideas on how to deal with this problem??

    When i try to connect my iphone to itunes it comes up with a message saying "itunes could not connect to this iphone, an unknown error has occured (0xE8000012)
    i have recently bought  new laptop and downloaded/installed the newest itunes and this has happened.. any ideas?

    read
    Error -50
    Delete Storm Video, QuickTime, iTunes, then reinstall iTunes. See also KB TS1583for error -50

  • How to deal with scratchy sound in AVI file from BetaCam masters

    Recently, I got out some BetaCam edit masters of videos I produced in the 1990s. The university instructional technology center transfered the masters to Mini-DV tape, then made AVI files from the Mini-DV tapes. The AVI files sound fine when I play them from my hard drive, but when I use the AVI files in Premiere Pro CS4 and 1.5, the sound is scratchy--sort of like a scratchy record. So then I got the Mini-DV tape and decided to import the program, playing it on my Canon GL1 camcorder and capturing it in PP CS4. But the sound is even worse. Please advise. These programs are too important to not be able to convert them to YouTube and DVD formats.

    If things work OK in "programA" but not in "programB" (B being Premiere) that is usually a codec issue
    AVI is simply a wrapper... what is the codec?
    The first question at the end of this link has a link to the free GSPOT to find the codec
    First, work through all of the steps here http://ppro.wikia.com/wiki/Troubleshooting
    If your problem isn't fixed after you follow all of the steps, report back with the DETAILS asked for in the questions at the end of that link

  • How to deal with the extremely big *.ost files in a Terminal Server environment which is running out of space

    Hi,
    Our Terminal Server is running out of hard disk space, and the major files which occupy most of the space are *.ost files of the Outook, which come form the users which use the Terminal Server all the time through remote desktop. The Outlook is installed
    on the Terminal Server and various users can use it.
    What would be a solution in this case. Is there a way to limit the size of the *.ost files? I read in forums that having the Outlook 2010 set up in Cached Exchange Mode isn't the best practice for an environment where the hdd space is a major constraint.
    What do you suggest?
    Thanks,

    Is the Exchange server local or remote? If it's local then it might be worth considering disabling cached mode, since the traffic will be going over the local network and therefore having the data cached becomes much less useful. If it's a remote exchange
    server then realistically turning off cached mode would likely make it unusable.
    If Exchange is remote then other than increasing the available storage, another option might be to upgrade your Outlook / Office installation to 2013. In Outlook 2013 you can configure how much of the users mailbox is cached in terms of time, so for instance
    you could set it to only cache the last 6 months worth of mail, and then all recent messages would continue to be quick to view, but older messages that are less likely to be accessed frequently would have to be downloaded from Exchange each time since they
    would no longer be cached.

  • How you deal with the situation if the vendor/supplier is also a customer ?

    Dear All,
    Could you please help me with the idea on how to deal with the suppliers/vendors who also are customers to you in MM?
    Thanks in advance,
    Ranjan

    It depends what you are intentions are..
    However
    1. Create a customer master record for that vendor that is also a customer.
    2. Enter Vendor number in Vendor field in control data-customer master record.
    3. Enter customer number in Customer field in Control data- vendor master record
    Finally, Check "Clrg with vend." field or "Clrg with cust." field

  • How to deal with deadlock on wwv_flow_data table when http server times out

    There are some threads about a deadlock on the wwv_flow_data table. None of them contain a real explanation for this behaviour. In my case I will try to explain what I think is happening. Maybe it helps somebody who is hitting the same matter.
    In my case with APEX 3.2.1 I am navigating from one page to another. Doing this APEX will lock the table wwv_flow_data. As soon as the other page is shown the lock will be released. But now this other page contains a bad performing query (standaard report region). After 5 minutes the http server (modplsql) will time out and present the message "No response from the application server" on the screen. In the meanwhile the query is still running on the database server and the lock stays on the wwv_flow_data table.
    Normal user behaviour will be that the user will use the back button to return to the previous page and tries it again to navigate to the other page or
    the user will try to refresh the page with the bad performing query.
    And voila now you will have a deadlock on the wwv_flow_data table since a second session is trying to do the same thing while the first hasn't finished yet.
    How to deal with it?
    First of all. Have a good look at the bad performing query. Maybe you can improve it that it will succeed before the http server will timeout.
    In my case the 11gr1 optimizer couldn't handle a subquery factoring clause in the best way. After changing it back to a classical inline query the problem was solved.
    Secondly you could increase the timeout parameter of the http server. Although this not the best way.
    Maybe it would better if APEX in a next version would release the lock on the table wwv_flow_date earlier or do a rollback just before the moment that the http server is timing out.
    regards,
    Mathieu Meeuwissen

    Hello Shmoove,
    I saw your reply here and you probably understand the problems the HTTP 100 response may cause.
    I am trying to send image that was taken by getSnapshot. The problem is that the server respond with this HTTP 100 message.
    I suspect that the reason that my server doesn't recognize the file that I'm sending from J2me is that the "server to client" response to the 100 message comes after the second message of (see what the TCPIP viewer shows down here):
    POST /up01/up02.aspx HTTP/1.1
    Content-Type: multipart/form-data; boundary=xxxxyyyyzzz
    Connection: Keep-Alive
    Content-length: 6294
    User-Agent: UNTRUSTED/1.0
    Host: szekely.dnsalias.com:80
    Transfer-Encoding: chunked
    400: Client to Server (126 bytes)
    78
    --xxxxyyyyzzz
    Content-Disposition: form-data; name="pic"; filename="david.jpg"
    Content-Type: application/octet-stream
    400: Connected to Server
    400: Server to Client (112 bytes)
    HTTP/1.1 100 Continue
    Server: Microsoft-IIS/5.1
    Date: Wed, 23 Mar 2005 00:47:02 GMT
    X-Powered-By: ASP.NET
    Any help will be appreciated,
    David

  • How to deal with the barcode?

    i'm developing a file storage system in java, there're two barcode on each file(one is pdf417, the other one is code128) , but now ,there's a problem confused me :
    i use the barcode scanner to scan the file and get images of these files from the scanner , but i have no idea how to deal with these images,
    i need the barcode information on the images, and i know there're some java components can help me to read the barcode from images , for example : BarcodeReader from Barcode Library, but these components were too expensive for me , is there any other way can solve this problem?

    yes, look for a cheaper component...
    Or write your own...
    Or save up until you can afford the more expensive ones...

  • How to deal with validation errors from DAO layer.

    I have been pondering on how to deal with validation errors from DAO layer.
    Lets say you have a DAO that can save a car object. A car has a year, make, model, vin and so on. During the save operation of this DAO, it validates the car attributes to see if they pass some business rules. If it does not it throws some validation exception that contains all the validation errors. These validation errors know nothing about jsf or my components it just knows what attributes on the object are invalid and why.
    If I just want to show those errors at the top of the page that would be no problem I could just create some FacesMessage objects and add them to the FacesContext messages. But if the DAO layer is telling me that the make attribute is invalid it would be nice to map it to the make field on the screen. I am wondering if any of you have tackled this problem or have some ideas on how to tackle it?
    Brian

    Let it throw an exception with a self explaining message, then catch it and embed that message in a FacesMessage.
    Or let it throw more specific exception types (InvalidCarMakeException extends CarDAOException and so on) and let JSF handle it with own FacesMessage message.

  • Help!!! How to deal with ClassNotFoundException??

    How to deal with ClassNotFoundException without starting Java Runtime Environment??
    the class file:
    import java.applet.Applet;
    import java.awt.Graphics;
    public class Hello extends Applet {
    public Hello() { }
    public void paint(Graphics g) {
    g.drawString("Hello!", 5, 25);
    the html file:
    <APPLET CODE="Hello" WIDTH=300 HEIGHT=200 >
    </APPLET>
    But it throw a error
    Error loading class: Hello
    java.lang.NoClassDefFoundError
    java.lang.ClassNotFoundException: Hello
    at com/ms/vm/loader/URLClassLoader.loadClass (URLClassLoader.java)
    at com/ms/vm/loader/URLClassLoader.loadClass (URLClassLoader.java)
    at com/ms/applet/AppletPanel.securedClassLoad (AppletPanel.java)
    at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
    at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
    at com/ms/applet/AppletPanel.run (AppletPanel.java)
    at java/lang/Thread.run (Thread.java)
    What 's the rule of com.ms.vm.loader.URLClassLoader finding the class??

    If you compiled the applet with SUN jdk then use -source 1.3 -target 1.1 to make it run in
    msjvm (Microsoft Java Virtual Machine). Note that this is a bad idea because MS is
    phasing out the msjvm.
    If you don't want to ue msjvm (good for you) than use the object tag in your html file to tell
    the browser you need to run this applet with sun jre:
    http://java.sun.com/products/plugin/versions.html

  • How to deal with CGEHS (central goverment employees health scheme0

    HI!
    All!
    Can any one please tel me as to how to  deal with CGEHS --- Central Government Employees Health Scheme in indian pay roll, which is not available in the Standard Indian Pay roll.
    How much development is needed?
    My understanding is that the following are required to be done..
    A) we need to create a cumulative wage type in It 14 whcih applies to all the employees then accordingly a pcr
    b) we need to create a unique ID, i mean CGEHS id and assign to every employee in IT 0105
    c)  creation of various clinics/hospitals.
    d) provision for reimbursement... etc...
    My doubts are..
    a) how to deal with the retired employees CGEHS contribution and reimbursement?
    how much developement is needed interms of user exits or abap developement.?
    Can any one please give some idea or some kind of document may be proto kind of doc will also do...
    Its little urgent..
    answer would be awarded the points.
    thanking you in advance..
    regards
    rao

    Further to Madhu,I feel you can redefine your feature IGMOD in such a way so that the same set of fields become applicable under different module pools.
    V_t588D and Feature IGMOD needs to be redefined in such cases.

  • How to deal with bass hum/noise while recording

    I recently got a bass guitar (fender p-bass) and its a little noisy. There is an electronic hum/buzz when my fingers are not touching the strings. I had my guitar tech look at it and he said the noise is normal. However, I plan on using this bass to record direct and when I plug into Logic this buzz/hum is audible. If I turn the tone knob on the bass down completely, the noise goes away. But when I start to turn the tone knob up at all the noise get louder.
    My question is if this is a common problem with instruments (bass, guitar, etc) and is it normal to use a plug-in to eradicate this noise (like a noise gate, or something else)? Also, does anyone else have any ideas on how to work with this buzz/hum? Thanks.

    I recently got a bass guitar (fender p-bass) and its
    a little noisy. There is an electronic hum/buzz when
    my fingers are not touching the strings. I had my
    guitar tech look at it and he said the noise is
    normal. However, I plan on using this bass to record
    direct and when I plug into Logic this buzz/hum is
    audible. If I turn the tone knob on the bass down
    completely, the noise goes away. But when I start to
    turn the tone knob up at all the noise get louder.
    My question is if this is a common problem with
    instruments (bass, guitar, etc) and is it normal to
    use a plug-in to eradicate this noise (like a noise
    gate, or something else)? Also, does anyone else have
    any ideas on how to work with this buzz/hum? Thanks.
    Hi JackQ,
    I had some experience a few years back with one of these basses,same model.Basically,the hum you are hearing is a grounding problem.Your tech does not know how to fix it,that's why he said it's "normal".It's not normal.
    You cannot get rid of that noise unless you do two things.One:get a reputable tech that is an expert on electric instruments,and ask him to solve the ground hum problem.It is not expensive to do so.
    Second,you can do a "home repair" kind of fix,like this:Take a RadioShack alligator clip wire (the ones that look like little alligator mouths,that clamp onto anything)and hook up one end to the bridge of your bass,and hook up the other end to your body,preferably where you have a high pain threshold.This second option,will work,but I only recommend it when you are going to record,otherwise if you leave the alligator clamp on you for a long time,it will leave a permanent mark(just kidding).This also is the cheapest and most efficient way of dealing with the hum problem.Plugins like a gate or other are not going to make it go away,and you'll spend wayyyyyy tooooo much time trying to get it(the plugin) to work.
    Cheers,
    noeqplease

  • How to deal with "NOWRAP"?

    Does any one have idea how to deal with "NOWRAP" in XSL?
    We can use the following line in html file:
    <TD NOWRAP VALIGN="BOTTOM"><INPUT NAME="c_CPRR_Cust_Cd" SIZE="8" TYPE="text" MAXLENGTH="15"><IMG SRC="/Images/Icons/Database/key.gif"
    ALIGN="BOTTOM" NATURALSIZEFLAG="3" WIDTH="18" HEIGHT="10">
    </TD>
    But when we put it in XSL file, it returns with error message complaining about "NOWRAP".
    Any suggestion will be greatly appreciated.
    Julie Zhu

    <TD NOWRAP=""> </TD>

  • How to deal with OpenCL grey out issue.

    First off, I'm not native english speaker.
    I have Nvidia GeForce 550 Ti video card, and its support OpenCL v1.1.
    I'm also face a "random" OpenCL grey out issue like other people here, but I found the "issue" and how to deal with.
    open a command windows (using WinKey + R, and type cmd <enter>)
    type "cd C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)" <enter>
    type "sniffer_gpu" <enter>  -->> to check your GPU has OpenCL in Photoshop?
    When GPU is in power-saving mode (core running in 51Mhz, using MSI Afterburner monitor), I running sniffer_gpu, got this report
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>sniffer_gpu
    Device: 0000000000328D68 has video RAM(MB): 1023
    Vendor string:    NVIDIA Corporation
    Renderer string:  GeForce GTX 550 Ti/PCIe/SSE2
    Version string:   3.0.0
    OpenGL version as determined by Extensionator...
    OpenGL Version 3.0
    Has NPOT support: TRUE
    Has Framebuffer Object Extension support: TRUE
    OpenGL ok
    Return code: 1
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>
    No OpenCL support
    Then, I switch GPU back to normal status (core running at 900Mhz)
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>sniffer_gpu
    Device: 00000000001F8D68 has video RAM(MB): 1023
    Vendor string:    NVIDIA Corporation
    Renderer string:  GeForce GTX 550 Ti/PCIe/SSE2
    Version string:   3.0.0
    OpenGL version as determined by Extensionator...
    OpenGL Version 3.0
    Has NPOT support: TRUE
    Has Framebuffer Object Extension support: TRUE
    OpenGL ok
    OpenCL ok, version=1.1 CUDA 4.2.1
    Return code: 3
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>
    OpenCL support !!
    Nowadays, most of new GPUs were support power-saving, but when sniffer_gpu running at GPU power-saving state, the OpenCL computing report maybe "time-out", cause the detector "guess" the GPU does not support OpenCL. This is why many people says "OpenCL" sometimes work, sometimes grey-out.
    I hope this bug can be fixed, or at least people can understand how to "enable OpenCL everytime when you launch photoshop".
    Bye.

    Do check the following link
    http://blogs.oracle.com/soabpm/2010/01/soa_suite_11g_weblogictransact.html

Maybe you are looking for

  • Compaq FACTORY_IMAGE Partition. Default Folder settings

    Hello All,  Recently I had to run Combofix on an old Vista system but as some will know it unhides hidden and system folders. In the FACTORY_IMAGE partition which of these folders should be hidden and which should be hidden system. boot hp PC-Doctor

  • Expressions and sliders

    Hi all Having trouble trying to stop my wiggle expression so I thought I would use a slider to control it. The wiggle is applied to position but I haven't actually given it any key frames. Basically my problem is that when ever I use the pick whip wi

  • OAM 11gR2 - Remote Registration Exception - HTTP Error 501

    Hello I installed OAM 11gR2 and am trying to configure OAM with WebGate. While doing remote registration using rreg.bat I get an exception RemoteRegistrationException HTTP error 501 could not send HTTP Post message Can anyone help me? Thanks, Ram

  • Different RGB in Photoshop Elements 10 and 11

    I get different RGB values for the same photo in Photoshop elements 10 and 11 tough I have the same settings, why is this? Is there any way I can fix this?

  • Raw material succeeded in marking while failed in release

    Hey, guys,           After last period closing, we found some raw materials succeeded in marking while failed in release. We maintained a new planned price for next period, and after we finished ck40n,  the planned price had appeared in the future, m