Results 1 to 4 of 4

Thread: Load data Help

  1. #1
    Join Date
    Oct 2005
    Posts
    92

    Unanswered: Load data Help

    Hello

    I have 2 tables,

    1) customer
    2) party

    wherever customer.customer_id and party.customer_id match then

    select party.adress and party.contact
    And insert into customer.address and customer.contact table.

    can someone please let me know how do i do this. (sql, pl/sql anything works)

    Thanks
    Pavan

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >And insert into customer.address and customer.contact table.
    INSERT exactly what & from where into these tables?
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Oct 2005
    Posts
    92

    Load data help

    When the customer_id in customer table match with customer_id in party match then,

    select adress and contact from party table and insert into address and contact columns in customer table.

    Thanks
    pavan

  4. #4
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    Duplicating data does NOT conform to Third Normal Form & is faulty design.

    CREATE VIEW won't duplicate data.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •