crycoming(瞎编):干才有错误!!谢谢参与。。请再看一下好吗???坑定给分

解决方案 »

  1.   

    就选出第二大的并且FLOWNODE=0503的纪录
    第二大?不懂
      

  2.   

    crycoming(瞎编):高手!!帮帮忙···谢谢!!!我很紧急!!!85分我坑定给!
      

  3.   

    crycoming(瞎编) :有语法错误!!!!我也不知道错在那里??能否您再看一下!!
      

  4.   

    StrSql = "select max(process_id) from ciqusr_xc_processes where leave_time is null "
    strsql1 = "select top 1 * from ciqusr_xc_proc_idx where x_cert_style_code is not null and process_id in '" & StrSql & "'"
    系统提示:strsql1有错误!是语法错!!错在那里??
      

  5.   

    不好意思刚才有事离开了
    "select top 1 * from ciqusr_xc_proc_idx where x_cert_style_code is not null and process_id in '" & StrSql & "'"
    应该是
    "select top 1 * from ciqusr_xc_proc_idx where x_cert_style_code is not null and process_id in ('" & StrSql & "')"就是按照大小排序后。排在第二位的?按什么排序?以后描述要严格一点
      

  6.   

    o是
    in (" & StrSQL &  ")
      

  7.   

    去数据库版看看吧,这种问题讨论过了。
    http://www.csdn.net/expert/topic/268/268769.shtm