no probs. I'm am cr&pping my pants about how godly the new functions are. Here is a link describing the new functions
http://www.akadia.com/services/ora_analytic_functions.html#Crosstab%20or%20Pivot%20Queries
One piece of sql with no selfjoins compares each record for an ID for changes in a...
just managed to do it in SQL. Using the new Oracle 8i Analysis functions (LAG, PARITION_BY, ROW_NUMBER ) it whips through and creates a table in a minute.
I have a table which contains multiple records per ID. A new record is entered each time one of the fields change. This can include changes to the STATUS field (a two letter field eg IR).
When a change occurs a new row is created with a datastamp of the time of change.
I want to for each ID...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.