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 |
i have a table like this. cityno cityname mails 1 BANGALORE 8KM 2 HSR LAYOUT 20KM 3 MEJISTIC 30KM 4 JAYADEVA 55KM 5 ITPL 80KM 6 HEBBAL 115KM I HAVE DATA LIKE THIS I WANT O/P LIKE THIS DISTANCE NO.OFCITY 0-50KM 3 51-100KM 2 101-150KM 4 AND SO ON pls give me answer. i want urgent
What are variables in pl sql?
what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba
What is the difference between delete and truncate commands?
What does an inner join do?
Give the structure of the procedure ?
what tools available for managing mysql server? : Sql dba
What is oracle and pl sql?
Write a query to find the names of users that begin with "um" in sql?
explain normalization concept? : Sql dba
how can we find the select statement is indexed or not?
What is flag in sql?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)