|
-
Hi
Well the answer is simple both the queries are different.
select count(*) from emptest where deptno=10;
I see that you have not created a index on deptno :-)
The query that is equivalent of
select count(*) from emptest
is
select count(*) from emptest partition(p1);
(dont look at the result i am saying optimizer wise they are equivalent now thats a term i made up)
I hope it answers your question
regards
Hrishy
Last edited by hrishy; 03-13-2006 at 08:33 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|