Manipulating CSV files with SQL

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Manipulating CSV files with SQL

    Can UPDATES and INSERTS be used on CSV files when using the "cfquery" tag of
    ColdFusion? I've tried but so far no luck. My thinking is that this is not
    possible, but I could be wrong and might be doing something wrong. I understand
    that SELECT statements can be used on .csv files, but it would be nice to be
    able to use manipulation statements for people who don't want to deal with big
    databases. Thanks.

    jiggar Guest

  2. Similar Questions and Discussions

    1. Manipulating XML File
      Assume you're working with a vendor that doesn't understand web services and implements their version of a web service solution that only returns...
    2. Manipulating a 3d object
      Hi, I am very new to Director, but I have made a 3d model in 3ds max, and have been able to import it as a new cast member. I want the user to...
    3. Manipulating Dataset
      Dear gurus, I have a stored procedure which returns a set of rows. How do I suppress a number of columns (not display) from dataset? Is is...
    4. Help with manipulating a string.
      I've got a multiline text box that will feed the ^M at the end of each line. I want to capture it into a single line (which is done), but how do I...
    5. Manipulating arrays
      Hello.... Where can I see (web pages) examples of manipulating arrays, calculos with elements of arrays or something like that?, I am writing a...
  3. #2

    Default Re: Manipulating CSV files with SQL

    You could probably do it with the cffile tag.

    Originally posted by: jiggar
    Can UPDATES and INSERTS be used on CSV files when using the "cfquery" tag of
    ColdFusion? I've tried but so far no luck. My thinking is that this is not
    possible, but I could be wrong and might be doing something wrong. I understand
    that SELECT statements can be used on .csv files, but it would be nice to be
    able to use manipulation statements for people who don't want to deal with big
    databases. Thanks.



    Dan Bracuk Guest

  4. #3

    Default Re: Manipulating CSV files with SQL

    Comma-separated, text, and Excel drivers do not as a rule support inserts,
    updates, or deletes. As Dan said, if you are truly working with a CSV file,
    then it would be a trivial matter to update the information through CFFILE.

    I'd rather rely on a real database to manipulate data. That's what they're for.

    philh Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139