Update query fails in CFMX - Is it a CF BUG???

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

  1. #1

    Default Update query fails in CFMX - Is it a CF BUG???

    Hi,

    I have a update query in coldfusion page. Even though it works in cf5 it
    fails in CFMX. My query is some thing like (I have put a CF output before
    executing the query).

    UPDATE mytable
    SET myfield = 'blah blah SELECT blah blah'

    If I change the query like,
    UPDATE mytable SET myfield = 'blah blah blah blah'
    it is working

    This is failing!!!! Strange though... Please guide me if you have a work
    around..

    Macro media., please wake up ;-)

    Regards,
    Amjath



    :D

    Jath Mama Guest

  2. Similar Questions and Discussions

    1. CFMX 6.1 continuously locks up/fails...
      Hey Weblift, how did you change JDBC to ODBC? We have been having similar CFMX6.1 hanging problems for well over a year now and have exhausted all...
    2. CFMX fails to render any CFM page
      I'm running an IIS 6.0 server with Cold Fusion MX 6.2 server. Everytime I try to load a .CFM document with a browser, the page is rendered blank. ...
    3. CFMX 7 Fails
      I'm running CodlFusion MX 7 on Win Server 2003. I've consistently encountered two problems: 1. If the computer has been left for some time - an...
    4. CFMX install fails w/ can't find libjava.so
      When trying to install cfmx 6.1 on Solaris 8, we get the following error: # ./coldfusion-* Preparing to install... Extracting the JRE from the...
    5. BCP query out executed by xp_cmdshell works fine from query analyzer but fails from VB Component
      Hi all, I have a stored procedure which returns a vast number of record and i have to write the output into a csv file. I'm using BCP utility to...
  3. #2

    Default Re: Update query fails in CFMX - Is it a CF BUG???

    For example, the following query is the only statement in a cfm page. It will
    fail.

    <cfquery name="UpdatemyTable" datasource="#application.datasource#">
    Update mytable set myfiedl = 'SELECT SELECT SELECT'
    </cfquery>

    Jath Mama 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