집 >데이터 베이스 >MySQL 튜토리얼 >用來比較兩個字符串從第幾個位置開始不相同
适用於Oracle資料庫的SQL Oracle SQL 字符串 select min(level) from dual where nvl(substr('字串1',level,1),' ')nvl(substr('字串2',level,1),' ') connect by level=200
适用於Oracle資料庫的SQLselect min(level) from dual where nvl(substr('字串1',level,1),' ')<>nvl(substr('字串2',level,1),' ') connect by level<=200