Log to update the State of the base (Info)

Dear all,

Is there something that can help determine the State of completion for the updating of the database.

Journal of as hyplive.log application located in the following location

Oracle\Middleware\user_projects\epmsystem1\diagnostics\logs\essbase\essbase_0\app\HypLive

the log file shows this

----------------------------------------------------------------------------------------------------------------------------

"[Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info (1013091)].
Order received [restructuring] user [admin@Native Directory]

[Sea Apr 04 14:53:50 2012] Local/HypLive/Plan1/admin@Native Directory/Info (1019017)
Playback of database settings [Drxxxxxx]

[Sea Apr 04 14:53:50 2012] Local/HypLive/Plan1/admin@Native Directory/Info (1019012)
Reading database schema [Drxxxxxx]

[Sea Apr 04 14:53:50 2012] Local/HypLive/Plan1/admin@Native Directory/Info (1019024)
Plan reading Transaction data base [Drxxxxxx]

[Sea Apr 04 14:53:50 2012] Local/HypLive/Plan1/admin@Native Directory/Info (1007043)
Said size Dimension = [1408 4 82 2 2 3 10 14 16 17 33 66 183 193 265 852 922 920 2 1 4 3 3 3 6]

[Sea Apr 04 14:53:50 2012] Local/HypLive/Plan1/admin@Native Directory/Info (1007042)
Dimension sizes real = [1395 4 81 1 1 3 10 12 16 8 26 64 145 163 245 848 898 914 0 0 0 0 0 0 5]

[Sea Apr 04 14:53:50 2012] Local/HypLive/Plan1/admin@Native Directory/Info (1007125)
The number of members of off-store dynamic Calc = [191 0 54 0 0 0 0 2 0 9 6 2 34 20 19 4 0 5]

[Sea Apr 04 14:53:50 2012] Local/HypLive/Plan1/admin@Native Directory/Info (1007126)
The number of members to store dynamic Calc = [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]

[Sea Apr 04 14:53:50 2012] Local/HypLive/Plan1/admin@Native Directory/Info (1007127)
The logical block size is [112995]

[Sea Apr 04 14:53:50 2012] Local/HypLive/Plan1/admin@Native Directory/Info (1010008)
Declared maximum blocks is [26928283342271066000000000] with [115456] data block size

[Sea Apr 04 14:53:50 2012] Local/HypLive/Plan1/admin@Native Directory/Info (1010007)
Blocks Possible real maximum is [5868290301232498000000000] with [32508] data block size

[Sea Apr 04 14:53:50 2012] Local/HypLive/Plan1/admin@Native Directory/Info (1200481)
Formula for Member [2050103] will run in mode [CELL]

[Sea Apr 04 14:53:51 2012] Local/HypLive/Plan1/admin@Native Directory/Info (1007067)
Duration total restructuring: seconds [0,235]

[Sea Apr 04 14:53:52 2012] Local/HypLive/Plan2/admin@Native Directory/Info (1007067)
Duration total restructuring: seconds [0,266]

----------------------------------------------------------------------------------------------------------------------------

but I'm looking for the status of the updating of the database has failed or succeeded?

All of the suggestions.

Concerning

ACE

If it does not then you would be obtained an error generated in the essbase applications journal and the journal of planning.

See you soon

John
http://John-Goodwin.blogspot.com/

Tags: Business Intelligence

Similar Questions

  • Need to update the card info - no button 'Edit info compensation' one button 'Manage acct!

    How to upgrade my new card information?

    Ty

    Hello

    Please click on Manage account then choose 'Plan and products' and click 'change payment details '.

    Feel free to contact customer service if you have additional questions.

    Kind regards

    Shelly

  • I could not update the basics of MS and could remove it not my pc either.

    "I tried to update the bases of millisecond and I couldn't do it since when I click on the update, then in a minute a pop window up and shows"the path"c:\b4f97c0316187d4326df2927ff\x86\epp.msi" not found.

    I tried to remove the bulk of ms from my PC and I couldn't do it either.  I couldn't use my pc normally.

    Hello

    See if this helps you remove MSE.

    http://support.Microsoft.com/kb/2483120?WA=wsignin1.0

    See you soon.

  • Architecture for the base product and custom versions of the product

    Hello

    We have a product written in Flex.

    We have several clients who have this product. The product is suitable for every customer.  When you start a new project, copy us the project to a customer who had similar requirements and then make other changes.

    We have this idea of having a layer of base product and then have a customization layer where we can place the project and personalized fuctionalities.   Also: when we update the base product, these updates can be incorporated into custom versions.

    I wonder how you can do this in Flex?

    Thank you

    Juan Esteban

    The development of a good architecture of plugin is * hard *. However, it is certainly worth it. The best approach depends on exactly what you want to do. At a high level, you can:

    1 write the base application and load the plugin modules and allow them to aspects of changes in the behavior of the application or style

    2. put your basic application into a logical application library and a library of custom components (separate) and turn each client application in a new project that pulls out of these.

    If you use dependency injection (e.g., SmartyPants or SwiftSuspenders), you can allow (1) a flexible way to interact with the application without function gynormous objects of 'context '. Simply perform injections on the loaded extensions, and they can pick up all the dependencies without having to worry about what anyone else.

    If (1) or (2) made most sense will depend on exactly what you're trying to do, but in general, (2) is more flexible (1) is a bit simpler (and usually work less by-implementation).

  • Impossible to update the display data

    Hello
    I created a simple view based on a table, but I can't update the data in the view. How can I do that.

    Thank you

    You will need create an INSTEAD OF trigger to update the base table of way...

    for example

    SQL> select * from test1;
    
         EMPID DT                        SALES       COMM
    ---------- -------------------- ---------- ----------
             1 26-SEP-2009 10:19:05        200          0
             1 29-SEP-2009 10:19:05        300          0
             1 06-OCT-2009 10:19:05        100          0
             2 01-OCT-2009 10:19:05        400          0
             2 04-OCT-2009 10:19:05        150          0
    
    SQL> create view vw_sales as
      2  select empid, sum(sales) as sales, sum(comm) as comm from test1
      3  group by empid;
    
    View created.
    
    SQL> select * from vw_sales;
    
         EMPID      SALES       COMM
    ---------- ---------- ----------
             1        600          0
             2        550          0
    
    SQL> update vw_sales set comm = sales*0.1;
    update vw_sales set comm = sales*0.1
           *
    ERROR at line 1:
    ORA-01732: data manipulation operation not legal on this view
    

    So, as a standard, we can update the display because it contains aggregates.

    If we create instead of trigger on the view, we can grab the update and update "instead of" the view's base tables...

    in my example, I'll answer to update the commission on the employee, by spreading the commission also on all sales for this employee records...

    SQL> ed
    Wrote file afiedt.buf
    
      1  create or replace trigger trg_vw_sales instead of update on vw_sales
      2  begin
      3    update test1
      4    set comm = :new.comm / (select count(*) from test1 where empid = :new.empid)
      5    where empid = :new.empid;
      6* end;
    SQL> /
    
    Trigger created.
    

    So now, we should be able to update the view...

    SQL> update vw_sales set comm = sales*0.1;
    
    2 rows updated.
    
    SQL> select * from vw_sales;
    
         EMPID      SALES       COMM
    ---------- ---------- ----------
             1        600         60
             2        550         55
    

    It's looks right. The commission shall be 10% of the total value of sales. :)

    And if we check the base table...

    SQL> select * from test1;
    
         EMPID DT                        SALES       COMM
    ---------- -------------------- ---------- ----------
             1 26-SEP-2009 10:19:05        200         20
             1 29-SEP-2009 10:19:05        300         20
             1 06-OCT-2009 10:19:05        100         20
             2 01-OCT-2009 10:19:05        400       27.5
             2 04-OCT-2009 10:19:05        150       27.5
    
    SQL>
    

    ... the commission is evenly distributed over the sales as we wanted.

    ;)

  • Failed to load the JDBC driver when you run the update of the base

    I use dev studio to extract data in the pipeline to an Oracle database using an adapter record, on version 3.1.1 short. I get errors when running the update of the base:

    ERROR 22/03/13 17:13:37.273 UTC (1363972417273) {config} forge: (AdapterRunner): unable to load the JDBC driver: oracle.jdbc.OracleDriver. com.endeca.edf.adapter.plugins.JdbcAdapterException: cannot load JDBC driver: oracle.jdbc.OracleDriver.      at com.endeca.edf.adapter.plugins.JdbcAdapter.loadDriver(JdbcAdapter.java:256) at com.endeca.edf.adapter.plugins.JdbcAdapter.execute(JdbcAdapter.java:91) at com.endeca.edf.adapter.AdapterRunner.run(AdapterRunner.java:168) at com.endeca.edf.adapter.AdapterRunner.main(AdapterRunner.java:43) caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver to java.net.URLClassLoader$ 1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged (Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:303) at Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) at java.lang.Class.forName0 (Native Method) at java.lang.Class.forName(Class.java:169) to com.endeca.edf.adapter.plugins.JdbcAdapter.loadDriver(JdbcAdapter.java:252)... 3 more
    ERROR 22/03/13 17:13:38.291 UTC (1363972418291) FORGE {config}: the java process evaluating the manipulative java class 'com.endeca.edf.adapter.plugins.JdbcAdapter' failed. Check the file ' / u01/oracle/VIS/apps/apps_st/comn/Oracle/endeca/Discover/./logs/forges/Forge/Edf.Pipeline.RecordPipeline.JavaManipulator.LoadOracleItems.log ' for more information.
    ERROR 22/03/13 17:13:44.840 UTC (1363972424840) {baseline} FORGE: Forge failed with 2 errors and 0 warnings.

    Pass on the adapter check crossings are defined as follows:

    DB_DRIVER_CLASS = oracle.jdbc.OracleDriver
    DB_URL = JDBC: thin: username / [email protected]:1521:VIS
    SQL = select * from XXFCI_ENDECA_ITEM_DATA

    I've set up the classpath as a variable that is defined in environment.properties as follows:
    forge.javaClasspath = ${ENDECA_PROJECT_DIR}/config/lib/java/ojdbc6.jar;${ENDECA_PROJECT_DIR}/config/lib/java/AdvJDBCColumnHandler.jar;${ENDECA_PROJECT_DIR}/config/lib/java/javaManipCommon-1.1.jar;${ENDECA_PROJECT_DIR}/config/lib/java/jakarta-oro-2.0.8.jar;D:/Endeca/CAS/3.1.1/lib/recordstore-forge-adapter/recordstore-forge-adapter-3.1.1.jar

    I'm passing forge.javaClasspath as an argument through the DataIngest.xml variable. The arguments that I am passing in DataIngest.xml are as follows:
    < args >
    < arg > - vw < / arg >
    < arg - > pruneAutoGen < / arg >
    < arg - > javaClasspath < / arg >
    < arg >$ {forge.javaClasspath} < / arg >
    < / args >


    I wonder if the versions of javaManipCommon - 1.1.jar and jakarta-oro - 2.0.8.jar are correct for version 3.1.1 of short. How will I know? What else can I do to fix this?

    Any help you can give would be appreciated!

    Thank you
    Becky Bradberry
    Senior Oracle consultant
    Promote the Concepts

    You run this under Linux or Windows? The path of the log file looks like Linux, but your classpath is configured to use windows (semicolons instead of colon) separators.

    Concerning

    Michael

  • Refresh the 10 7 window moved States we could not update the system reserved partition

    Hi I have windows 7 pro sp1 64-bit on a dell optiplex 960

    reserved for the windows install 10 tries to install each time at the beginning but the top

    Windows 10 update will not be installed, lt says "we couldn't update the system reserved partition."

    but does not display an error code

    I could use some help to fix this please?  I'm pretty useless on computers would be appreciated helping hand step by step

    Kind regards

    Tom

    Base partition to reduce the partition of Windows 7 front enough so to "Extend" the 350 MB system partition by using the unallocated space created by reducing the Windows partition.

    http://www.partition-tool.com/

    Note: Do not exceed 350 MB as a larger partition and can cause other problems especially after that it exceeds about 375 MB.

    J W Stuart: http://www.pagestart.com

  • When Lr automatically to update the State?

    Without manually copying the parameters put forward State by Ctrl + Shift + Alt + left or without putting a new before the State by right-clicking on one of the entries in the history, when Lr automatically updated the before State?

    If you are not manually adjust the "before" State, this State is defined once, just after the import, just after applying a preset so you have a preset selected in the import dialog box.

    Snapshots and virtual copies are extra...

  • Cannot display the results to the database during "Update": SQL statement

    Hello

    I get this error trying to update a VO via the UI or BCBrowser.

    Cannot display the results to the database during "Update": SQL statement

    This is a default single front & right THAT VO creates on the object of the entity (Database Table)

    On the same table and with the same credentials of DB, I could update the record.

    Any guess on what went wrong?

    Thanks in advance for any help.

    p.s Jdev 11.1.1.6

    Journal:

    oracle.jbo.DMLException: Houston-26041: could not publish data from database in "Update": SQL statement "START the CAR UPDATED CarEO SET SEL_ITEM =: 1 WHERE TXN_NO =: 2 AND LOGID =: AND SEQNO = 3: 4 POLL DELIVERY_MODE, CERTIFICATION_REQ, SOFT_COPY_IND, SELITEM IN: 5,: 6,: 7,: 8; END; ».

    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:583)

    at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)

    at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)

    at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)

    at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)

    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)

    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)

    at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)

    at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)

    at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)

    at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)

    at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)

    to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)

    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)

    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)

    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)

    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)

    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)

    at java.awt.Component.processMouseEvent(Component.java:6289)

    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)

    at java.awt.Component.processEvent(Component.java:6054)

    at java.awt.Container.processEvent(Container.java:2041)

    at java.awt.Component.dispatchEventImpl(Component.java:4652)

    at java.awt.Container.dispatchEventImpl(Container.java:2099)

    at java.awt.Component.dispatchEvent(Component.java:4482)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)

    at java.awt.Container.dispatchEventImpl(Container.java:2085)

    at java.awt.Window.dispatchEventImpl(Window.java:2478)

    at java.awt.Component.dispatchEvent(Component.java:4482)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)

    to java.awt.EventQueue.access$ 000 (EventQueue.java:85)

    in java.awt.EventQueue$ 1.run(EventQueue.java:603)

    in java.awt.EventQueue$ 1.run(EventQueue.java:601)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)

    in java.awt.EventQueue$ 2.run(EventQueue.java:617)

    in java.awt.EventQueue$ 2.run(EventQueue.java:615)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Caused by: java.sql.SQLException: invalid column type

    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:150)

    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:399)

    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:581)

    at oracle.jdbc.driver.OracleCallableStatementWrapper.registerOutParameter(OracleCallableStatementWrapper.java:1765)

    at oracle.jbo.server.OracleSQLBuilderImpl.bindUpdateStatement(OracleSQLBuilderImpl.java:2243)

    at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10524)

    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:412)

    ... 52 more

    The problem is solved now.

    new columns added to the database table, after the creation of the entity object. Those changes were not picked up in the entity object.

    I found this difference after object entity with the DB Table comparison.

    And when I added these new columns to EO & VO, I don't get this error more.

    Thanks to all who tried to help

  • VM upgrade with Update Manager - how to tie yourself to the base line of tools

    I'm upgrading from the tools of Virtual Machines on one of our servers ESX - ESX8.

    There are several virtual machines (10-20). I tried to reach the default baseline provided with vSphere (VMware Tools upgrade to Match) on the ESX Server and the VMware tools to upgrade, to Match database does not appear.

    The vShpere update #2 video series shows the user using a folder it created in the virtual machine and discovers patterns with all virtual machines of Xp in a folder.

    He joined upgrade VMware tools to Match base and scans and corrects all Xps.

    If I go to the virtual machine and view models and I see short folder Vms, VMs, templates, etc.

    But the associated virtual machines seem to be in alphabetical order and not in an order that associates them with ESX8.

    If I create a folder under the folder open VMs and try to move the virtual machines associated with ESX8 in the folder, it does not work.

    I even tried to create a new database and tried to add to the game, but always VMware tools upgrade not can link it to the host.

    Is there a way to get the Update Manager to work at the level of the host with the host ESX8, so I can join VMware Tools upgrade ESX8 game database and update tools?

    Otherwise, the update of all virtual machines manually by connecting the base to each line take very long.

    Thank you

    Create your custom (depending on model and VM) folder, move the virtual machine and fix the base line here.

    André

  • Updates the update only changed columns statement?

    Let's say I TABLE1 with columns ID (2.0), FNAME VARCHAR2 (20), LNAME VARCHAR2 (20), AGE NUMBER (2.0). I insert a new record:

    INSERT INTO TABLE1 (ID, FNAME LNAME, AGE) VALUES (1, 'Steve', 'Jobs', 40);

    so I say:

    Setting a DAY TABLE1 SET FNAME = "Steve", LNAME = "Employment", AGE = 56 WHERE ID = 1;

    As you see the value of AGE column is different, but in the UPDATE statement I always put other columns of values. I wonder if Oracle is smart enough to update only the AGE column or it will update all columns?

    I do not think that Oracle performs this check: it simply updates the specified such columns in the SQL statement.

    Here is a 5 year old J. Lewis article that explains why Oracle works this way: http://jonathanlewis.wordpress.com/2007/01/02/superfluous-updates/.

  • Add more than 2 lines for a select statement without inserting rows in the base table

    Hi all

    I have a below a simple select statement that is querying a table.

    Select * from STUDY_SCHED_INTERVAL_TEMP
    where STUDY_KEY = 1063;

    but here's the situation. As you can see its return 7 ranks. But I must add
    2 rows more... with everything else, default or what exist... except the adding more than 2 lines.
    I can't insert in the base table. I want my results to end incrementing by 2 days in
    measurement_date_Taken on 01-APR-09... so big measurement_date_taken expected to
    end at study_end_Date...



    IS IT STILL POSSIBLE WITHOUT INSERT ROWS IN THE TABLE AND PLAYIHY ALL AROUND WITH
    THE SELECT STATEMENT?

    Sorry if this is confusing... I'm on 10.2.0.3

    Published by: S2K on August 13, 2009 14:19

    Well, I don't know if this request is as beautiful as my lawn, but seems to work even when ;)
    I used the "simplified" version, but the principle should work for your table, S2K.
    As Frank has already pointed out (and I fell on it while clunging): simply select your already existing lines and union them with the 'missing documents', you calculate the number of days that you are "missing" based on the study_end_date:

    MHO%xe> alter session set nls_date_language='AMERICAN';
    
    Sessie is gewijzigd.
    
    Verstreken: 00:00:00.01
    MHO%xe> with t as ( -- generating your data here, simplified by me due to cat and lawn
      2  select 1063 study_key
      3  ,      to_date('01-MAR-09', 'dd-mon-rr') phase_start_date
      4  ,      to_date('02-MAR-09', 'dd-mon-rr') measurement_date_taken
      5  ,      to_date('01-APR-09', 'dd-mon-rr') study_end_date
      6  from dual union all
      7  select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('04-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
      8  select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('09-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
      9  select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('14-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
     10  select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('19-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
     11  select 1063, to_date('22-MAR-09', 'dd-mon-rr') , to_date('23-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
     12  select 1063, to_date('22-MAR-09', 'dd-mon-rr') , to_date('30-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual
     13  ) -- actual query:
     14  select study_key
     15  ,      phase_start_date
     16  ,      measurement_date_taken
     17  ,      study_end_date
     18  from   t
     19  union all
     20  select study_key
     21  ,      phase_start_date
     22  ,      measurement_date_taken + level -- or rownum
     23  ,      study_end_date
     24  from ( select study_key
     25         ,      phase_start_date
     26         ,      measurement_date_taken
     27         ,      study_end_date
     28         ,      add_up
     29         from (
     30                select study_key
     31                ,      phase_start_date
     32                ,      measurement_date_taken
     33                ,      study_end_date
     34                ,      study_end_date - max(measurement_date_taken) over (partition by study_key
     35                                                                          order by measurement_date_taken ) add_up
     36                ,      lead(measurement_date_taken) over (partition by study_key
     37                                                          order by measurement_date_taken ) last_rec
     38                from   t
     39              )
     40         where last_rec is null
     41       )
     42  where rownum <= add_up
     43  connect by level <= add_up;
    
     STUDY_KEY PHASE_START_DATE    MEASUREMENT_DATE_TA STUDY_END_DATE
    ---------- ------------------- ------------------- -------------------
          1063 01-03-2009 00:00:00 02-03-2009 00:00:00 01-04-2009 00:00:00
          1063 03-03-2009 00:00:00 04-03-2009 00:00:00 01-04-2009 00:00:00
          1063 03-03-2009 00:00:00 09-03-2009 00:00:00 01-04-2009 00:00:00
          1063 03-03-2009 00:00:00 14-03-2009 00:00:00 01-04-2009 00:00:00
          1063 03-03-2009 00:00:00 19-03-2009 00:00:00 01-04-2009 00:00:00
          1063 22-03-2009 00:00:00 23-03-2009 00:00:00 01-04-2009 00:00:00
          1063 22-03-2009 00:00:00 30-03-2009 00:00:00 01-04-2009 00:00:00
          1063 22-03-2009 00:00:00 31-03-2009 00:00:00 01-04-2009 00:00:00
          1063 22-03-2009 00:00:00 01-04-2009 00:00:00 01-04-2009 00:00:00
    
    9 rijen zijn geselecteerd.
    

    Is there a simpler way (in SQL), I hope that others join, and share their ideas/example/thoughts.
    I feel that it is using more resources there.
    But I have to cut the daisies before now, they interfere my 'grass-green-ess";)

  • reason for updating a view rather than on the base table

    Can someone tell me what is the reasons that sometimes we would update a view rather than on the base table? I always thought that we cannot update a view, of course, I am wrong. Thank you

    Hi Welcome to the Forum

    Basically, a view is used to present the data, a different way. He can rely on more than one table and we cannot update a
    Discover directly that contains Sql functions, aggregate functions, a group of Clause and a view created excluding the required columns of the table.

    In all the cases mentioned Instead of trigger is very useful

    Published by: user10862473 on July 28, 2009 07:10

  • update so on different WiFi router and now my Airport base station has a yellow light flashing - how to reset the base station

    Light Flsahing Amber on my Airport base station

    A persistent, flashing amber light indicates that one of the conditions is possible more may require your attention:

    • The base station has not yet been configured, because it's new or reset switch has been set.
    • You have chosen a security configuration that is not recommended.
    • Among several other conditions, such as a disconnected Ethernet cable or invalid IP address has been detected.

    (Ref: AirPort base stations: status of base station on airport (LED))

    To find out why your base station status led is orange flashing:

    • Open AirPort Utility
    • Click on the AirPort base station
    • Look for the Status parameter in the small window that appears
    • Click on the little orange dot here and another window will open to explain what might be the 'question '.
  • White screen to update the Portege M400 firmware after waking from sleep state

    Why this topic has been closed? http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=19803&MessageID=74193

    I just wanted to add that this update does NOT resolve the problem in vista and it is NOT a driver problem. The update will not install in vista and vista is already provided with videoprt.sys 5.1.2600.2911.

    When it occurs, the laptop again indeed. You can manipulate and even hear the sounds, but the backlight does not come on or there is no output from the video card. I'm fairly certain that it is a signal of hardware problem.

    No matter what laptop I, euro or us, could someone please tell me the file so that I can look at what changes actually code?

    Hello

    > Why this thread has been closed?
    I think that the admin closed this thread because, as indicated by the user lumix2day the MS update has solved this problem.

    The M400 was delivered with Win XP it's why the update should work with Windows XP!

    Regarding your question.
    Looks like you are using your own copy of Vista on the M400.
    You should check if Vista is already up to date. Each week the new MS updates are published.

    Additinally, I recommend updating the BIOS and check for a driver update more recent display!

    Best regards

Maybe you are looking for

  • How to save my favorites in a folder on the desktop to transfer to a new computer?

    I tried to export my Favoutires of my IE browser, but all the I get is a shortcut of Mozilla for Windows Media Player, no other transfers, so how to export mozilla bookkmarks to a folder on the desktop that I can add to a memory stick or Cd to downlo

  • Can not receive faxes?

    I have HP Officejet Pro 8500 a Plus all-in-One printer, Windows 7, I can send faxes but cannot receive faxes? Can someone help me? I have a TV Brighthouse cable with telephone with answering service.

  • How can I activate the print spooler service on

    My computer says the print spooler service stops when I'm going to use a printer. How do I reactivate.

  • SPA3102 PSTN to voip

    Hi allWhat am I supposed to hear when the SPA picks up the call?My VOIP works and my PTSN works. Ive plugged the socket "phone" on my Fax (which is on the same phone number as adsl, and is set to 'reply' mode) 'line' on my SPA3102 and implemented acc

  • SD card not recognized player and a blue screen.

    Hello world I have a Toshiba Satellite M305D - S4830 Vista 64 When I insert an sd card into the card reader internal sd, nothing happens. The map does not even appear in my "computer". If I leave the sd card plugged in for more than an hour or two, I