ORACLE SQL只要蒐尋結果第一筆 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 - 12月 01, 2015 如何查詢ORACLE資料庫時 過濾只要搜尋結果的第一筆資料 語法該怎麼下 select * from 您的表格 where rownum=1 OR select * from ( select * from yourtable order by yourfield asc ) where rownum = 1 閱讀完整內容
4gl 找特定字串 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 - 11月 17, 2015 l_cmad.cmad18 = 'FC040-06' SELECT instr(l_cmad.cmad18,'-') INTO l_cnt2 FROM dual 經SELECT後 l_cnt2 = 6 LET l_month = l_cmad.cmad18[l_cnt2+1,l_cnt2+3] 取月份 l_month = 06 閱讀完整內容