inserting into two SQL tables

Home Page Forums BizTalk 2004 – BizTalk 2010 inserting into two SQL tables

Viewing 1 reply thread
  • Author
    Posts
    • #12885

      I have a text file in the following format

      @
      100
      kavitha
      27
      @
      200
      prathap
      25

      I want to transfer these datas into two SQL tables

      @
      100
      kavitha
      27
      @
      200
      prathap
      25

      Is it possible to transfer these datas in two different tables

      tableA
      100 kavitha
      200 prathap

      tableB
      100 27
      200 25

    • #12886

      Options

      1: Debatch the data into single transactions, then call a stored proc with 3 parms on it, the stored proc updates/inserts the two tables.

      2. Let Biztalk convert flat file to XML, then send entire XML block to stored proc, then use OpenXML in stored proc to update multiple tables.
      I recently learned of a limitation of 8000 bytes to the parm you pass to SQL. There may be a get-around, but it looked confusing.

      Neal Walters
      http://Biztalk-Training.com

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.