Query on SQL adapter and Insert updategram

Home Page Forums BizTalk 2004 – BizTalk 2010 Query on SQL adapter and Insert updategram

Viewing 1 reply thread
  • Author
    Posts
    • #20856

       Hi friends,

      I am using SQL adapter and insert updategram to insert data into the SQL server DB. The response i see only contains following

      <ns:Outbound xmlns:ns=”http://TestSQL”&gt; <ns:Success /></ns:Outbound>

      My requirement is to return two unique fields from SQL server table as response. How can i achieve this. I have tried using at-identity attribute but that is used in the scenario where you are inserting data into multiple tables with parent child relationship. How else can we return the data from the inserted record in the SQL server.

      Thanks in advance!!!

      Regards,

      SKL

    • #20858

      I also got the same issue once and I resolved it by giving alias names for return values and selecting them from an existing table. Not sure, if it is the best solution… (Applicable only to a Stored proc)

      Eg: select top 1 @Identity std_id from student

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