moving data from one data source to another

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default moving data from one data source to another

    I'm trying to move data from one data source to another. I don't want to loop -
    because it will kill performance. A simple Select into or Insert into using a
    select statement is what I need. I seem to be hung up on the from clause of
    query q4... Is this the proper way to access another query? What am I doing
    wrong? <cfquery name='q2' datasource='OracleDb'> select * from Pets
    </cfquery> <cfquery name='q3' datasource='AccessDb'> drop table Pets
    </cfquery> <cfquery name='q4' datasource='AccessDb'> select petname, store
    into Pets from 'q2' </cfquery>

    adumas77 Guest

  2. Similar Questions and Discussions

    1. XML Data Source
      I am thinking of creating an online application using an XML file as it's primary data source. The XML file on the web server will be refreshed via...
    2. Moving data from http to https
      For a shopping cart-enable site, what is the best way to store and transfer a user's session data from non-secure to secure? The secure section...
    3. Moving data between select boxes
      Hi I have used ASP code to load data into two select boxes. The code below is used to move the selected data back and forth between the boxes. ...
    4. moving data with imbedded <CR> or <LF>
      I have run into an interesting problem. We have generated data that contains bit data stored in a 16 byte character field. This last week I was...
    5. Newbie - Moving around (scrambling) data?
      "Ricardo Forde" <anonymous@devdex.com> wrote in message news:e4Ixd9JRDHA.1712@TK2MSFTNGP12.phx.gbl... Why are you trying to do this?
  3. #2

    Default Re: moving data from one data source to another

    is your q4 just a pseudo-code or is that the actual sql that you are writing? can you do that??

    where are you selecting petname from? you didn't specify any table
    shahzad Guest

  4. #3

    Default Re: moving data from one data source to another

    No, this is not pseudocode... petname, store are 2 columns in the q2 query.

    So far, nobody knows if I can do a 'select into' where I reference data from datasource and insert it into another.
    adumas77 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