SQL約束查詢返回“未選定行”?
SQL>select constraint_type from user_constraints where table_name='userinfo_p1';
輸出>未選定行
請問為什么沒有輸出Constraint_name列?
SQL>select constraint_type from user_constraints where table_name='userinfo_p1';
輸出>未選定行
請問為什么沒有輸出Constraint_name列?
2019-02-23
舉報
2019-02-27
看了幾遍發現了? 最后查詢的表名要大寫才行? 和添加數據沒關系
2019-02-26
你的表存在,語句也正確,出現這個問題的原因是,你的表中沒有數據,你可以給這個表增加一行數據,然后再執行這個操作。就可以輸出了。