Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2005
    Posts
    92

    Unanswered: Insert 10 records IN pl/sql

    Hi All,

    I have to insert into a table say customer.

    It has these attributes, all not null.

    customer id,
    agent id
    party id

    customer id has a sequence which is populated using customer_seq.nextval
    agent id is always 0

    The party id's are as below,

    101,
    6785,
    9464,
    4789,
    1001,
    7,
    148,
    3452,
    3453,
    355

    1 row should be inserted for each party id in the table 'customer'.

    can someone please tell me how do I do this.

    Thanks
    pavan

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Thumbs down

    Quote Originally Posted by pavan_test View Post
    . . . E t c . . .
    1 row should be inserted for each party id in the table 'customer'.

    can someone please tell me how do I do this.
    Review your sql 101 lesson(s) and try doing your own homework.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  3. #3
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    when all else fails, Read The Fine Manual

    Oracle Database Search Results: insert
    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
  •