multiple row insert

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sumit gupta
    New Member
    • Apr 2008
    • 2

    multiple row insert

    how to insert multiple row in a table through single quesry execution in oracle.is it possible or not?
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Try to INSERT ALL command.

    Try to use on version 9 onwards

    Comment

    • amitpatel66
      Recognized Expert Top Contributor
      • Mar 2007
      • 2358

      #3
      Originally posted by sumit gupta
      how to insert multiple row in a table through single quesry execution in oracle.is it possible or not?
      Are you looking at inserting a record in to more than one table or inserting a multiple copies of single row in to a single table?

      Comment

      • BMantri
        New Member
        • Apr 2008
        • 7

        #4
        Hello,

        You can use
        insert into table values ('&col1', '&col2');

        it will ask you the value of col1 and col2 every time you put / on sqlplus.



        Regards,

        BMantri

        Comment

        Working...