mysql中經常使用類型轉換

一、varchar轉int spa select * from SYS_MENU where PARENT_ID = '6' order by cast (MENU_ORDER as UNSIGNED INTEGER)  ; ast select * from SYS_MENU where PARENT_ID = '6' order by cast (MENU_ORDER as SIGNED IN
相關文章
相關標籤/搜索