Results 1 to 2 of 2

Thread: setting value

  1. #1
    Join Date
    Apr 2012

    setting value

    If i have a value of 1 in my database, and I want to put in a 1, why won't it be able to update the value?

  2. #2
    Join Date
    Jan 2006
    Probably because the db is smart enough not to update something that does not need updating.

    From MySQL manual: "If you set a column to the value it currently has, MySQL notices this and doesn't update it."
    Last edited by Dasher; 05-03-2012 at 02:18 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles