Nested SELECT in UPDATE statement

Discussion in 'MySQL' started by tintumon, May 27, 2010.

  1. #1
    This one surprised me a little, I didn't expect it to throw an error. The error that comes us is 'You cant specify target table jobcard in update in from clause.'

    Does this mean I cannot use a NESTED SELECT in an UPDATE?
     
    tintumon, May 27, 2010 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    jestep, May 27, 2010 IP
  3. miker81

    miker81 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    from

    http://dev.mysql.com/doc/refman/5.0/en/update.html
     
    miker81, May 27, 2010 IP