Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8113771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:56:15+00:00 2026-06-06T02:56:15+00:00

So Coldfusion is acting wonky today. I can’t seem to update DB. For example

  • 0

So Coldfusion is acting wonky today. I can’t seem to update DB.

For example if I try to query this :

<CFQUERY DATASOURCE="tr3" NAME="qryData2">
    SELECT *
    FROM UsersExpDataTR2
    WHERE session_id = 2 AND p1_id = 2 AND round = 3
</CFQUERY>

the qryData2.recordcount comes to equal 1.

But when I try to run this code

<CFQUERY DATASOURCE="tr3" NAME="uMatch">
    UPDATE UsersExpDataTR2
    SET p1_total = 13 AND p1_fine = 1
    WHERE session_id = 2 AND p1_id = 2 AND round = 3
</CFQUERY>

p1_total’s value gets changed to 0 and p1_fine doesn’t change from its original value.

I was going to stay late to restart the server but I was hoping I didn’t have to and if someone could tell me the answer to these oddities?

NOTE: In the code itself I’m using variables to store and query [obviously]. I’m just using the numbers as a test.

UPDATE: They are all integer data types. Though I was also having problem with a double value in another situation.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T02:56:16+00:00Added an answer on June 6, 2026 at 2:56 am

    Your syntax looks wonky to me 🙂 Try this:

    <CFQUERY DATASOURCE="tr3" NAME="uMatch">
        UPDATE UsersExpDataTR2
        SET p1_total = 13,
            p1_fine = 1
        WHERE session_id = 2 AND p1_id = 2 AND round = 3
    </CFQUERY>
    

    good luck number 1 we are all counting on you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a ColdFusion page where admins can insert/update some real estate records after
In ColdFusion I can see the code below, however it does not seem to
ColdFusion 8 This is as simple pseudo-code as there can be: <cffunction name=badJSON access=remote
ColdFusion 8 I have a cfgrid that that is based on a query. It
I have some ColdFusion output: <cfoutput query=myList>#Email#</cfoutput> If my list happens to have several
The ColdFusion documentation describes how you can use jnbproxy from the command line .
Apparently ColdFusion doesn't like multiple SQL statements within a single query... so what once
I'm using ColdFusion with Microsoft SQL Server 2005 and on occasion I get this
In Coldfusion 8 Enterprise (8,0,1,195765), the following two lines of code causes this error:
In ColdFusion, how can I determine if a variable exists within the querystring without

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.