Problem in inserting multiple rows using stored procedure

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prashanth023
    New Member
    • Apr 2007
    • 13

    Problem in inserting multiple rows using stored procedure

    Hi ,

    Can any body please solve the problem

    I need a stored procedure that should take a number as input for number of records to insert.

    And it should take the row by row data and insert n number of records. in command prompt


    Please colve my problem.
  • mwasif
    Recognized Expert Contributor
    • Jul 2006
    • 802

    #2
    Take a look at these links, try to make a stored procedure. If you still face problems post back here.

    Comment

    • mocode
      New Member
      • Dec 2007
      • 1

      #3
      Hi there,

      the links provided didnt help me. I am not sure whether my problem is the same as the one mentioned above.

      Anyways: I am looking for a possibility to send some kind of array to a stored proc:
      Instead of
      loop cartItems
      call insertOrderline ()
      end loop

      I would like to
      Call insertorder(car tItems)

      Is that possible at all?

      Thanks for any hints!

      Comment

      Working...