Cascade Update (Urgent)

Dear Friends,
I need to update the master records have records in details tables. Can anyone suggest me the feature of CASCADE UPDATE. So that moment i changed the master record it should reflect to detail records.
I DON'T WANT TO USE CURSOR TO UPDATE RECORDS IN DETAILS.
Thanks.

Hi,
You can try to use the pre-update, on-update, post-update trigger for the master-block. In that you can parse an update statement for the detail block. This will 'simulate' a cascade delete
Hope this helps.

Similar Messages

  • How to cascade update

    how to cascade update?

    Sorry everyone for going regional with my Mexican fiend!
    In MEXMAN's first case, integrity on related data was already being enforced through a valid foreign key (TIZAYUCA.REGLAFAB_PRODUCTO_FK). However, the user wanted to update data included in the foreign key relationship. To acomplish this, I recommended to change the actual constraint state to defer validation until commit. Using the now familiar column names, the sentences are:
    ALTER TABLE TIZAYUCA.REGLA_FABRICACION
    DROP CONSTRAINT REGLAFAB_PRODUCTO_FK;
    ALTER TABLE TIZAYUCA.REGLA_FABRICACION
    ADD CONSTRAINT REGLAFAB_PRODUCTO_FK FOREIGN KEY (GRUPO, PRODUCTO)
    REFERENCES TIZAYUCA.PRODUCTO (GRUPO, CLAVE)
    INITIALLY DEFERRED;
    In MEXMAN's second case, a wholly new integrity needs to be enforced between two tables but some actual data present in both tables do not validate the desired constraint. The offending rows from the child table (TIZAYUCA.PRESENTACION) may be obtained executing
    SELECT *
    FROM tizayuca.presentacion t
    WHERE (t.grupo, t.producto) NOT IN
    (SELECT p.grupo, p.clave
    FROM tizayuca.producto p);
    MEXMAN has 3 choices:
    1. deleting the offending rows in the child table (TIZAYUCA.PRESENTACION) before executing
    alter table TIZAYUCA.PRESENTACION enable constraint PRES_PROD_FK;
    2. inserting the missing rows in the parent table (TIZAYUCA.PRODUCTO) before executing
    alter table TIZAYUCA.PRESENTACION enable constraint PRES_PROD_FK;
    3. making the new constraint ignore the present data and enforcing the relationship starting with new data:
    alter table TIZAYUCA.PRESENTACION
    add constraint PRES_PROD_FK foreign key (GRUPO, PRODUCTO)
    references TIZAYUCA.PRODUCTO (GRUPO, CLAVE)
    deferrable initially deferred
    enable novalidate;
    (drop the present PRES_PROD_FK constraint first)
    Please find more on the constraint topic here:
    http://download-east.oracle.com/docs/cd/B14117_01/server.101/b10759/clauses002.htm#CJAFFBAA
    and here:
    http://download-east.oracle.com/docs/cd/B14117_01/server.101/b10759/clauses002.htm#i1002273
    Best regards,
    Luis Morales,
    ConsiteNicaragua.com

  • Cascade update on tables

    Hi,
    I know that oracle apps coding standard prohibits cascade delete feature in the database. Hence it should be implemented at application level.
    However my question is regarding cascade update. Need is to update the header's WHO columns, when an update is made to any of the lines. Both the tables are custom tables. I was thinking to write a trigger, instead of putting this logic in application.
    What should be the better solution and why? Writing trigger or implementing this functionality in application (OAF).
    Abdul Wahid

    Hi Sandeep.
    Thanks for the answer.
    However its still half.
    Answer is considering putting the logic at application level,fine. but why?
    Question is about its benefits over putting the trigger on the lines table.
    Why I am favouring trigger is due to following reasons..
    1. Lesser maintenance. (Just one trigger, no code jungle)
    2. Update of header with line' WHO is always expected (from application or any concurrent program)
    3. And putting things in application, brings challenge of maintaining integrity constrains....
    This third point is main reason I am seeing behind oracle's statndard for cascade delete, cause they are seeded tables and putting a trigger on header table may delete lines rows always (Very specific to that screen), which may not be desirable in a lot cases.Huge integrity risk.
    This case is of update desirable always, where I am seeing using trigger as help to maintain integrity, instead of risk to integrity.
    Is there any doc about such situation( coding and design guidelines). I searched net and metalink, but yet did not find.
    (my application is OAF, and its implemented also by the grace of Allah.)
    Abdul Wahid

  • Best practice when doing large cascading updates

    Hello all
    I am looking for some help with tackling a fairly large cascading update.
    I have an object tree that needs to be merged using JPA and Toplink.
    Each update consists of 5-10000 objects with a decent depth as well.
    Can anyone give me some pointers/hints towards a Best practice for doing this? Looping though each object with JPA's merge takes minutes to complete, so i would rather not do that.
    I have never actually used TopLinks own API before, so i am especially interested if TopLink has an effective way of handling this, preferably with a link to some related reading material?
    Note that i have a somewhat duplicate question on (Noting for good forum practice)
    http://stackoverflow.com/questions/14235577/how-to-execute-a-cascading-jpa-toplink-batch-update

    Not certain what you think you can't do. Take a long clip and open it in the Viewer. Set In and Out points. Drop that into the Timeline. Now you can move along in the Viewer clip and set new Ins and Outs and drop that into the Timeline. Clips in the Timeline are created from the Ins and Outs you set in the Viewer.
    Is that what you want to do? If it is, I don't where making copies of the clip would work for you
    Later, if you want to match up a clip in the Timeline to that master clip, just use Match Clip (find) in the timeline to find where it correaltes to your main clip
    You can have FCE automatically create subclips at camera cut points by using DV Stop/Start Detect if that is what you're looking for

  • Cascade Update in Oracle Constraint ?

    How can I create a Constraint in Oracle 9i with Cascade Update Option like On Delete Cascade.
    It means, if I change the primary key of master table, the foreign key of all the relevant child tables should be updated automatically.
    Any idea please ?
    Best Regards,
    Luqman

    Oracle doesn't intrinsically have the concept of a CASCADE UPDATE.
    From a data modeling standpoint, primary keys should never, ever change under any circumstances. If a column can ever change, it should not be used as a primary key.
    Tom Kyte has a package and some code to generate triggers that would do this sort of thing
    http://asktom.oracle.com/~tkyte/update_cascade/index.html
    but I would strongly suggest you change the data model rather than going down that path.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Cascade update

    Is there a way in oracle to achive cascade update functionality just as cascade delete?

    It is possible
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:5773459616034
    However, as Tom indicates, it is a very bad practice. If you envision ever contemplating changing primary keys, you need a new primary key. A sequence-generated synthetic key column is an excellent choice if there is no natural key.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • ON CASCADE UPDATE  in ODI ?

    Hello,
    Does any one know if this works with Oracle as ODI shows this option in Model --> datastores --> constraints --> foreign key reference.
    Thanks
    Greenwich

    Oracle doesn't intrinsically have the concept of a CASCADE UPDATE.
    From a data modeling standpoint, primary keys should never, ever change under any circumstances. If a column can ever change, it should not be used as a primary key.
    Tom Kyte has a package and some code to generate triggers that would do this sort of thing
    http://asktom.oracle.com/~tkyte/update_cascade/index.html
    but I would strongly suggest you change the data model rather than going down that path.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Updating PK with same value - effect on CASCADE UPDATE

    Hello,
    I would like to understand how sql server 2008 deals with cascade updates
    For example I have
    Parent table: Employee with column Id as varchar(20) primary key
    Child table with IdEmployee as varchar(20) foreign key
    I set up Cascade Update for those two tables, meaning any change to primary key in Employee table will cause update in child table rows that match affecting Id
    Scenario 1:
    Update Employee
    set Id = 'ABC',
    Name = 'something new'
    where Id = 'CCC'
    Result of child table: all rows with foreign key IdEmployee and value of 'CCC' are updated. Expected behavior.
    Scenario 2:
    Update Employee
    set Id = 'ABC',
    Name = 'something new 2'
    where Id = 'ABC'
    This time, i am doing something different. I am beside update of column Name with new value, also update primary key but
    with SAME value
    Question is: what is going to happen to child rows? Are they ALL going to UPDATE due to CASCADE UPDATE
    So far, what i did in order to find solution is:
    1. I put an timestamp column in child table that should update each time row gets updated
    2. I put a trigger for update event on child table that will write something to some log table
    *After I set up those two I ran example like above just to be sure timestamp gets changed as well trigger is being fired
    Results of updating PK with same value:
    1. Timestamp didnt change
    2. Trigger didnt fire
    Is this enough to make conclusion that updating primary key with same value ALONG with updating some other columns won't
    affect child tables with UPDATE CASCADE ON
    Update:
    Database is CI AS collation
    If i do following
    Update Employee
    set Id = 'abc',
    Name = 'something new'
    where Id = 'ABC'
    1. Timestamp will change
    2. Trigger will fire
    Conclusion: Case sensitive is important here!
    Thank you very much in advance
    Milos

    >>  would like to understand how sql server 2008 deals with cascade updates <<
    Your posting has a number of conceptual errors. 
    1. The terms “parent” and “child” are not RDBMS; they are used in network databases. We have “referenced” and “referencing” tables; they can be the same table.
    2. A table models a SET of things, so there is no “Employee” table unless you truly have a one-man company. We want a collective or plural name for the SET/table. A better name is “Personnel” for this table. 
    3. Her is no such thing as a generic “id” in RDBMS; it has to be “<something in particular>_id” to be valid. Identifiers are usually fixed length 
    4. It is very, very rude not to post DDL on a forum. You also do not know the ISO-11179 Rules for data element names. They do not change names from table to table! Does your name change whenever you use it in a new place?? NO! Same principle with data. 
    5. The ISO standard uses “<property>_<attribute property>” syntax, no the old PascalCase.
    6. Why did you post a useless narrative? How do we compile “I SET up Cascade UPDATE for those two tables,..” to test it?? 
    CREATE TABLE Personnel
    (emp_id CHAR(20) NOT NULL PRIMARY KEY,
     emp_name VARCHAR(25) NOT NULL,
    CREATE TABLE Health_Plan
    (health_plan_acct CHAR(20) NOT NULL PRIMARY KEY,
     emp_id CHAR(20) NOT NULL 
     REFERENCES Personnel(emp_id)
     ON UPDATE CASCADE
     ON DELETE CASCADE,
    Scenario 1:
    UPDATE Personnel
       SET emp_id = 'ABC',
           emp_name = 'something new'
     WHERE emp_id = 'CCC';
    Result of child table: all rows with foreign key emp_id and value of 'CCC' are updated. Expected behavior.
    Scenario 2:
    UPDATE Personnel
       SET emp_id = 'ABC',
           emp_name = 'something new 2'
     WHERE emp_id = 'ABC';
    This time, I am doing something different. I am beside UPDATE of column emp_name with new value, also UPDATE PRIMARY KEY but
    with SAME value.
    >> Question is: what is going to happen to child [sic: referencing]  rows? Are they ALL going to UPDATE due to CASCADE UPDATE. <<
    SQL uses a set-oriented model, so the whole table is updated as a unit of work in theory. 
    So far, what I did in order to find solution is:
    >> I put an timestamp column in child [sic: referencing] table that should UPDATE each time row gets updated <<
    Why? It is not in the SET clause list; it cannot change. As an aside,  The T-SQL TIMESTAMP is not the ANSI/ISO TIMESTAMP; it is DATETIME2(n) in T-SQL. The old TIMESTAMP is being deprecated because it stinks both in concept and implementation. 
    >> I put a trigger for UPDATE event on child [sic: referencing] table that will write something to some log table.<<
    TRIGGERs are fired by what is called a “database event” shown in the ON [DELETE | UPDATE] clause. T-SQL adds INSERT as an event. An update to any value or to no value at all is still an update. Depending on the collation, case may or may not matter in the final
    outcome. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Problems in Update - Urgent

    I have four objects -
    Brand (1 : M) Product ( 1 : M ) Product_Market (M : 1) Market
    I use only one service to update all of these together
    ... service.update(product)
    The flow is like this -
    1. Get Product, Get Brand, Get Market as
    ClientSession.executeQuery("query", class, args);
    2. Clone all objects as
    clientSession.copyObject(object, policy)
    where policy is to retain PK and Cascade all parts.
    3.Modify these objects as
    Brand.setName(NewName)
    Product.setBrand(Brand)
    Brand.addProduct(Product)
    Market.setName(NewName)
    new ProductMarket()
    ProductMarket.setMarket(Market)
    ProductMarket.setProduct(Product)
    Product.AddMarket(ProductMarket)
    Market.addProduct(ProductMarket)
    service.update(product) as
    deepMergeClone(product)
    commit.
    What I find is the Brand Gets Updated, ProductMarket gets added but Market is not getting Updated.
    Would appreciate any clues in this regard.
    Thanks.

    This is a snippet from my Mapping file.
    I beleive market is not read-only, nor is the name.
    Have double-checked that the Name that I am setting in different from the one already in the database.
    <descriptor>
    <java-class>com....ProductMarketBO</java-class>
    <tables>
    <table>MARKET</table>
    </tables>
    <primary-key-fields>
    <field>MARKET.PM_MARKET_ID</field>
    </primary-key-fields>
    <descriptor-type-value>Normal</descriptor-type-value>
    <identity-map-class>oracle.toplink.internal.identitymaps.SoftCacheWeakIdentityMap</identity-map-class>
    <remote-identity-map-class>oracle.toplink.internal.identitymaps.SoftCacheWeakIdentityMap</remote-identity-map-class>
    <identity-map-size>100</identity-map-size>
    <remote-identity-map-size>100</remote-identity-map-size>
    <should-always-refresh-cache>false</should-always-refresh-cache>
    <should-always-refresh-cache-on-remote>false</should-always-refresh-cache-on-remote>
    <should-only-refresh-cache-if-newer-version>false</should-only-refresh-cache-if-newer-version>
    <should-disable-cache-hits>false</should-disable-cache-hits>
    <should-disable-cache-hits-on-remote>false</should-disable-cache-hits-on-remote>
    <alias>ProductMarketBO</alias>
    <copy-policy>
    <descriptor-copy-policy>
    <type>oracle.toplink.internal.descriptors.CopyPolicy</type>
    </descriptor-copy-policy>
    </copy-policy>
    <instantiation-policy>
    <descriptor-instantiation-policy>
    <type>oracle.toplink.internal.descriptors.InstantiationPolicy</type>
    </descriptor-instantiation-policy>
    </instantiation-policy>
    <event-manager>
    <descriptor-event-manager empty-aggregate="true"/>
    </event-manager>
    <mappings>
    <database-mapping>
    <attribute-name>audit</attribute-name>
    <read-only>false</read-only>
    <reference-class>com.amgen.bria.business.bizobject.AuditInfo</reference-class>
    <is-null-allowed>false</is-null-allowed>
    <aggregate-to-source-field-name-associations>
    <association>
    <association-key>LAST_UPDT_BY</association-key>
    <association-value>MARKET.LAST_UPDT_BY</association-value>
    </association>
    <association>
    <association-key>CREATE_DT</association-key>
    <association-value>MARKET.CREATE_DT</association-value>
    </association>
    <association>
    <association-key>CREATED_BY</association-key>
    <association-value>MARKET.CREATED_BY</association-value>
    </association>
    <association>
    <association-key>LAST_UPDT_DT</association-key>
    <association-value>MARKET.LAST_UPDT_DT</association-value>
    </association>
    </aggregate-to-source-field-name-associations>
    <type>oracle.toplink.mappings.AggregateObjectMapping</type>
    </database-mapping>
    <database-mapping>
    <attribute-name>name</attribute-name>
    <read-only>false</read-only>
    <field-name>MARKET.MARKET_NAME</field-name>
    <type>oracle.toplink.mappings.DirectToFieldMapping</type>
    </database-mapping>
    <database-mapping>
    <attribute-name>objectId</attribute-name>
    <read-only>false</read-only>
    <field-name>MARKET.PM_MARKET_ID</field-name>
    <type>oracle.toplink.mappings.DirectToFieldMapping</type>
    </database-mapping>
    <database-mapping>
    <attribute-name>productAssignment</attribute-name>
    <read-only>false</read-only>
    <reference-class>com.amgen.bria.business.bizobject.interfaces.ProductMarketAssignmentBO</reference-class>
    <is-private-owned>false</is-private-owned>
    <uses-batch-reading>false</uses-batch-reading>
    <indirection-policy>
    <mapping-indirection-policy>
    <type>oracle.toplink.internal.indirection.NoIndirectionPolicy</type>
    </mapping-indirection-policy>
    </indirection-policy>
    <container-policy>
    <mapping-container-policy>
    <container-class>java.util.ArrayList</container-class>
    <type>oracle.toplink.internal.queryframework.ListContainerPolicy</type>
    </mapping-container-policy>
    </container-policy>
    <source-key-fields>
    <field>MARKET.PM_MARKET_ID</field>
    </source-key-fields>
    <target-foreign-key-fields>
    <field>PRODUCT_MARKET.PM_MARKET_ID</field>
    </target-foreign-key-fields>
    <type>oracle.toplink.mappings.OneToManyMapping</type>
    </database-mapping>
    </mappings>
    <type>oracle.toplink.publicinterface.Descriptor</type>
    </descriptor>

  • Production order Qty update-urgent.

    Hi all,
    I want a query that must not allow me to  update the Qty in the Production order.Once production order created from the MRP,it should not allow me to update any Qty at the production orer level what should be query its urgent.
    mona.
    thanx in advance.

    Hi Mona,
    Query is only for report.  It will not be the tool you are looking for this task.
    The SBO_Transaction_Notification SP can be used instead. There are quite a few threads discuss this topic.  Try search in the forum to find what you need.
    Thanks,
    Gordon

  • Cascading Updates in database

    Hi,
    I am using Oracle 10 XE, and using Oracle ADF with JDeveloper. I have some basic database tables that users fill in using forms from Oracle ADF. However, there are more complicated database table that rely on these basic tables. My question is when a user makes changes to these basic database tables, how do I cascade the users updates to the more complicated databases tables in Oracle 10 XE?

    depending on the specific of what you are going to need you should read about composite associations
    http://docs.oracle.com/cd/E16162_01/web.1112/e16182/bcentities.htm#sm0150
    Which does handle some cascading issues for you.
    And also about 4.10.9 How to Synchronize with Trigger-Assigned Values
    http://docs.oracle.com/cd/E16162_01/web.1112/e16182/bcentities.htm#BABBHCHI

  • (MIGO) Inconsistent  table updation  ------URGENT

    hi experts,
    I am struck up with seious problem.
    I am updating the material document created during MIGO into my Ztable through MB_MIGO_BADI ( method: POST_DOCUMENT).
    the issue here is , some documents are not get updated into Ztable while some gets updated. When i check in DEV & quality it goes fine.
    The scenario here is some 10 plants with 3 machines each use MIGO at the same time. Is the problem due to concurrent access.........?
    Pls guide me....URGENT
    thank u
    sarav

    Hi Sarav,
    Are you using the COMMIT after the updation. If you are using the same then add
    COMMIT AND WAIT FOR 2 SECONDS.
    This should resolve your issue.
    Regards,
    Atish

  • JPA - cascade update

    Hello,
    Let's say I have these 2 classes:
    public Class Pessoa {
    @Id
    @Column(name = "ID_PESSOA", nullable = false)
    private Long idPessoa;
    private String nmPessoa;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "pessoa", fetch=FetchType.EAGER)
    private Collection<Telefone> fones;
    public Class Telefone {
    @Id
    @Column(name = "ID_FONE", nullable = false)
    private int idFone
    private String nrFone;
    private int tpFone;
    @JoinColumn(name = "ID_PESSOA", referencedColumnName = "ID_PESSOA")
    @ManyToOne
    private Pessoa pessoa;
    And then I try tu update the Pessoa object:
    Pessoa p = pessoaDAO.getPessoa(cdPessoa);
    p.setNmPessoa("Maria");
    p.getFones().removeAll(p.getFones());
    p.setFones(newFoneCollection);
    pessoaDAO.atualizar(p); // merge(p)
    After this I can see the change on the nmPessoa, but it does not happen on fones.
    I can have some changes if I add new fones, but the ones I already have stay in DB.
    Could someone tell me how I can do it?
    tks!

    Hi Mike,
    thanks for the reply!
    I did a test using the Derby DB (from netbeans 5.5) which has some tables. I took 2 tables ORDERS and CUSTOMER that has the same relation as PESSOA and TELEFONE.
    In this test netbeans generated the entities automatically and I just created the TestClass like this:
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("testaCascadePU");
    Persistencia persis = new Persistencia(emf); // has EntityManager, persist/merge/remove/find
    Customer c = (Customer)persis.find(entity.Customer.class, new Integer(1));
    Customer cTemp = new Customer(c.getCustomerId());
    Orders o = new Orders();
    o.setQuantity(new Short("30"));
    o.setShippingDate(new Date());
    o.setCustomerId(cTemp);
    o.setOrderNum(new Integer(10398011));
    o.setProductId(new Product(new Integer(980001)));
    Collection<Orders> ordersL = new ArrayList();
    ordersL.add(o);
    c.setName("Robert Plant Test");
    for (Orders os: c.getOrdersCollection()) {
    os.setCustomerId(null);
    os.setProductId(null);
    c.getOrdersCollection().removeAll(c.getOrdersCollection());
    c.setOrdersCollection(ordersL);
    persis.update(c);
    And this test still have the same problem that I had before.
    Even when I "unset" the orders, I keep getting the same orders in the DB plus the new order instead of getting just the new order as I wish.
    Am I doing something wrong?
    This scenario is quite common but I really don't know how to deal with it.
    Thanks again!

  • Cascade Update Manually

    Hi,
    If I want to update a Primary Key to a new value and there are existing references to it in a Foreign table, and I do not have On UPDATE CASCADE, how can I accomplish this?
    do I have to delete all the child records, update the parent's primary key, and then insert the child records again w/ the updated primary key?
    Thanks!

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. Temporal data should
    use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect. 
    This is minimal polite behavior on SQL forums. 
    >> If I want to update a PRIMARY KEY to a new value and there are existing references to it in a Foreign [sic: referencing] table, and I do not have ON UPDATE CASCADE, how can I accomplish this? <<
    Alter your table and add the constraint. If you missed this one, look  for more design errors and commissions. 
    >> do I have to delete all the child [sic: referencing] records [sic: rows], update the parent's [sic: referenced] primary key, and then insert the child [sic] records [sic]again w/ the updated primary key?<<
    You need to learn basic terms and concepts! And t kick the guys that forgot this in the first place. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Unable to Load Mac OSX after update - Urgent! Please Help

    I just updated my Mac using System update, which required a start.
    I restarted the computer, but it's stuck in the gray apple screen with the circular running bars. It's been now 10 minutes, and it never took so much. I tried to turn it off, then on again, same problem. What should I do? Please, help!
    Thanks,
    richard

    Problem solved.
    First of all, thank you all for the advices and links, now I learned something. After panicking, I tried the PRAM reset restart and the "shift" restart and it didn't work. I didn't have the installation disk with me, so I went straight to Tekserve to hear them. They told me that my system got corrupted for some reason and I had two options with them:
    - a quick fix, for US$59, which would erase all my HD content and take 24 hours
    - a fix without erasing the HD, for US$195, which would take 4 business days!
    They said those were all the options. For me the money was not major problem. The big issue for me would be not having my computer for many days.
    Then I thought: what if I try to reinstall the system myself? And they said: well, you can try that.
    That's what I did as I got home. Install disk, restart holding down the "C" key.
    One hour later, everything was back to normal.
    Now the question: why at tekserve they didn't say anything to me about reinstalling the system myself?
    Anyway, this was the first major problem I bumped into since I have turned to apple 3 years ago.
    And again, thanks everybody for the help!

Maybe you are looking for