有一張表 欄位有70多個 通過psl查看順序是 id name from 等等..
但是通過sql陳述句查看欄位的名字和對應的備注,
select b. * from user_tab_comments b where b.table_name = #{tableName},
查詢出來的順序和通過view看到的順序完全不一致,
之前用的mysql沒有出現這個問題
請問下怎么解決.
uj5u.com熱心網友回復:
user_tab_comments是表的注釋,欄位的要看user_tab_columns,column_id排序即可。轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/28103.html
標籤:開發
