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

  1. #1

    Default update issue

    Do you guys see any problems with this:
    <cfquery name="updPassword" datasource="#session.dsn#">
    update auth
    set password='#variables.pass2#'
    where username='#session.username#'
    </cfquery>

    password and username get a string value and I have tried to replace the
    variables with a string and I doing all of that I get the following error:

    Error Executing Database Query.
    Syntax error in UPDATE statement.

    The interesting part is that I can do an INSERT and SELECT in the same query
    statment and table just not an update.


    standardCode Guest

  2. Similar Questions and Discussions

    1. 7.0.1 MultiServer Update Issue
      Taken from part 2 of the release notes from the 7.0.1 update: The ColdFusion MX 7 Updater tries to update ColdFusion server instances in the...
    2. MX7.0.0.9 To MX7.0.1 Update Issue
      Hello, I'm running CFMX7.0.0.9 on a Windows Server 2003/IIS6 single server machine and downloaded/installed the updater that is supposed to move...
    3. ASP.NET Access Update Issue
      I have an ASP.NET application that is running using Access. It works fine on my desk top. When I move it to another computer it will run fine with...
    4. ID CS: update issue
      I can't get InDesign CS (Windows XP) to update. The autoupdate keeps telling me that there's an upgrade to version 3.0.1 available, and when I...
    5. InDesign 3.01 Update Issue
      Just updated to 3.01 and now tabs pallette is blank - no ruler ticks etc. Boxes where input are displayed but nothing else.. Ideas?
  3. #2

    Default Re: update issue

    where is this value coming from #variables.pass2#

    jorgepino Guest

  4. #3

    Default Re: update issue

    <cfset pass2=trim(form.updatedPassword1)>
    on top of my script. As I mentioned, I have tried replacing these variables with actual strings and I still get the same error.
    standardCode Guest

  5. #4

    Default Re: update issue

    I'm not crazy ;). The duplicates are from a system error I kept getting.
    NNTP protocol error. 441 437 EMP (phl)
    standardCode 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