vb6 프런트 엔드와 sybase를 백엔드로 사용하고 있습니다. 어디서 절에 ISNULL를 사용하거나 내가 NULL = 사용해야합니다sybase의 IsNull where 절
SQLStr = "select distinct thrd_pty.id_thrd_pty, thrd_pty.name_thrd_pty, thrd_pty.nbr_tax_idtn " _
& "from thrd_pty, cntct_rltn, cntct " _
& "where cntct.id_cntct = '" & cntct(ColNum, CurThrdPty) & "' and cntct_rltn.id_super = cntct.id_cntct and cntct_rltn.name_super = 'cntct' and thrd_pty.id_thrd_pty = cntct_rltn.id_thrd_pty and cntct_rltn.dt_eff_end IsNull "
AND cntct_rltn.dt_eff_end는 NULL이거나 AND cntct_rltn입니다.dt_eff_end ISNULL (IS와 NULL 사이의 공백) –
@nirudyogi - 테스트 공간. null을 값으로 변환하는 공간이 없습니다. – DVK