update tst set fDe=' Crab Meat Cuisines, Abalone, Shark[']s Fin and Bird[']s Nest' where name='ddd'Shark[']s  应该是 Shark's  
Bird[']s  应该是 Bird's  应该怎么样才能把 ' 正确弄入数据库啊  []  这个也不行求高手  

解决方案 »

  1.   

    Shark''s
    Bird''s   update tst set fDe=' Crab Meat Cuisines, Abalone, Shark''s Fin and Bird''s Nest' where name='ddd'
      

  2.   

    update tst set fDe=' Crab Meat Cuisines, Abalone, Shark[''']s Fin and Bird[''']s Nest' where name='ddd'
      

  3.   

    update tst set fDe=' Crab Meat Cuisines, Abalone, Shark''s Fin and Bird''s Nest' where name='ddd'
      

  4.   

    create table tb(name varchar(10) , fDe varchar(100))
    insert into tb(name) values('ddd')
    goupdate tb set fDe=' Crab Meat Cuisines, Abalone, Shark''s Fin and Bird''s Nest' where name='ddd'select * from tbdrop table tb/*
    name       fDe                                                                                                  
    ---------- ---------------------------------------------------------------------------------------------------- 
    ddd         Crab Meat Cuisines, Abalone, Shark's Fin and Bird's Nest(所影响的行数为 1 行)
    */
      

  5.   


    update tst set fDe='Crab Meat Cuisines, Abalone, Shark ''s Fin and Bird ''s Nest' where name='ddd'