insert into vResFullQCSingleChoice 
values(
'TQS000000000000000',
2003-7-25 14:08:26,' He thinks that there won''t be enough sets for everybody.',
4,
0,
1) 

解决方案 »

  1.   

    如果用VB的话,在前台程序里用REPLACE函数将'代替为''
      

  2.   

    insert into vResFullQCSingleChoice 
    values(
    'TQS000000000000000',
    '2003-7-25 14:08:26',' He thinks that there won''t be enough sets for everybody.',
    4,
    0,
    1) 
      

  3.   

    在'之前再加一个':
    insert into vResFullQCSingleChoice 
    values(
    'TQS000000000000000',
    2003-7-25 14:08:26,
    ' He thinks that there won''t be enough sets for everybody.',
    4,
    0,
    1) 
      

  4.   

    使用replace函数将一个单引号替换成两个单引号
    在以后输出的时候将两个连续的单引号替换成一个单引号
      

  5.   

    insert into vResFullQCSingleChoice 
    values(
    'TQS000000000000000',
    '2003-7-25 14:08:26',
    'He thinks that there won''t be enough sets for everybody.',
    4,
    0,
    1)
      

  6.   

    insert into vResFullQCSingleChoice 
    values(
    'TQS000000000000000',
    2003-7-25 14:08:26,' He thinks that there won''t be enough sets for everybody.',
    4,
    0,
    1)