How to fetch records from a partitioned table?
Answers were Sorted based on User's Feedback
select * from tabe_name partition (partition_name );
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / santosh kumar
SELECT * FROM TABLENAME PARTITION(PMONHTYEAR)
EX:
SELECT * FROM SALARY PARTITION(P0315)
Is This Answer Correct ? | 1 Yes | 0 No |
Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?
how do you know the version of your mysql server? : Sql dba
what is explain plan?
what are dynamic queries in t-sql? : Transact sql
4. Select sum(A.salary) +sum(B.salary) as TOT_SAL from ( select LEVEL emp_id,level*100 salary,case when mod (level,2)=0then 2 else null end dept_id from dual connect by level<6 )A right outer join (select level emp_id ,level*200 salary ,case when mod (level,3)=0 then 2 else null end dept_id from dual connect by level<6)B On A.dept_id=B.dept_id And A.emp_id=B.emp-id;
Types of cursor locks and explanation each of them ?
how to include numeric values in sql statements? : Sql dba
Can you rollback after commit?
Explain the difference between cursor declared in procedures and cursors declared in the package specification?
What is Histogram?
How do you go back in sql?
What is schema in sql example?