Is there any database parameter that we can set, which controls the way data is stored and retrieved for display purpose.
Or to put it other way round,
When we retrieve the data using select * statement, is the data displayed always in the chronological order ?
Context here is:
We have a table that contains past 2 months data (say 200 rows - 100 rows loaded on 1st June as May data, 100 for June data loaded on 1st July). Using some DB feature/parameter can we seprate out the recently inserted rows i.e. June data ?
PS: there is no date-time stamp related column in the row.
Just a blind shot:
If I do select * from table, and copy the last 100 of the displayed
records, will it always serve my objective?
When you want to querry data from a table you have to know the structure
of the table(i.e the columns in the table) these are what you need to restrict
your select.
For example if you have a table called urtable has column like
name
address
salary
date_loaded
You can query for data loaded in june this way:
select name,address,salary,date_loaded from urtable
where date_loaded like '%06-01-2005%'
You can play around with several this query to achieve your desired
result.
Austin
Quick Links:
Do you have
an Oracle Question?
Best regards,
Oracle Database, SQL,
Application, Programming Tips
All the site contents are Copyright © www.sap-img.com
and the content authors. All rights reserved.
All product names are trademarks of their respective
companies.
The site www.sap-img.com is not affiliated with or endorsed
by any company listed at this site.
Every effort is made to ensure the content integrity.
Information used on this site is at your own risk.
The content on this site may not be reproduced
or redistributed without the express written permission of
www.sap-img.com or the content authors.