Skip to Main Content

Japanese

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

レコードが増える

985374Mar 28 2013 — edited Mar 29 2013
こんな現象が発生したのですが、何か原因は考えられますでしょうか?

カラムが30個ほどあるテーブルで、
select count(*) from TableA;
→ 2.000 → 正しい

select 主キー from TableA;
→ 2,000件 選択されました。 → 正しい

select 主キー,col1,col2,col3 from TableA;
→ 5,000件 選択されました。 → 増えている???

select 主キー,col1,col2,col3 from TableA order by 主キー;
→ 2,000件 選択されました。 → order byをつけると正しい件数になる

3個目のSQLでなぜかレコードが増えてしまっています。
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 26 2013
Added on Mar 28 2013
8 comments
1,530 views