Update Product set BigClassName='抛光机' where id=3 任何一项数据这么写都能更新成功,没有问题
但是放到一起写就更新不了(如下:)
Update Product set BigClassName='抛光机',EnBigClassName='Angle Polisher',Title='抛光机 WP 180',EnTitle='Angle Polisher WP 180',,EnContent='',UpdateTime='2007-1-15 5:06:00',DefaultPicUrl='UploadFiles/200711551016510.jpg' where id=3 不知道我什么地方写错了?

解决方案 »

  1.   

    Update  Product  set  BigClassName='抛光机'  where  id=3    
     
    任何一项数据这么写都能更新成功,没有问题  
    但是放到一起写就更新不了(如下:)  
    Update  Product  set  BigClassName='抛光机',EnBigClassName='Angle  Polisher',Title='抛光机  WP  180',EnTitle='Angle  Polisher  WP  180',EnContent='',UpdateTime='2007-1-15  5:06:00',DefaultPicUrl='UploadFiles/200711551016510.jpg'  where  id=3    
     
    不知道我什么地方写错了?
      

  2.   

    --tryUpdate Product set BigClassName='抛光机',EnBigClassName='Angle Polisher',Title='抛光机 WP 180',EnTitle='Angle Polisher WP 180',
    EnContent='',UpdateTime='2007-1-15 5:06:00',DefaultPicUrl='UploadFiles/200711551016510.jpg' where id=3 
      

  3.   

    Update Product 
    set  BigClassName='抛光机',
    EnBigClassName='Angle Polisher',
    Title='抛光机 WP 180',
    EnTitle='Angle Polisher WP 180',    --- 你的这个地方多了个逗号
    EnContent='',
    UpdateTime='2007-1-15 5:06:00',
    DefaultPicUrl='UploadFiles/200711551016510.jpg' 
    where id=3
      

  4.   

    Update Product  
    set  BigClassName='抛光机',
         EnBigClassName='Angle  Polisher',
         Title='抛光机  WP  180',
         EnTitle='Angle  Polisher  WP  180',
         EnContent='',
         UpdateTime='2007-01-15 5:06:00',
         DefaultPicUrl='UploadFiles/200711551016510.jpg'
    where id=3