How to fetch records from a partitioned table?
Answer Posted / santosh kumar
SELECT * FROM TABLENAME PARTITION(PMONHTYEAR)
EX:
SELECT * FROM SALARY PARTITION(P0315)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
What is the difference between function, procedure and package in pl/sql?
How do I view an execution plan in sql?
how to get a list of columns in an existing table? : Sql dba
Why are indexes and views important to an organization?
First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.
Do stored procedures prevent sql injection?
i have some prob lem to tell me about my self in interview first round ...
What is sql and how does it work?
What will you get by the cursor attribute sql%rowcount?
Explain what is a database?
What operators deal with null?
How do you write an inner join query?
How do I remove duplicates in two columns?
What are inner and outer joins examples of both?