Updating Tables Using a Single Updategram Message in BizTalk Server 2004 and 2006
page 4 of 8
by Naveen Karamchetti
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 8968/ 170

Scenario: Book Store Demo

Book Store Database tables

A Book Store would have the following tables.

1.    Publisher

2.    Books

Listing 2 – SQL Script for creating database and tables

CREATE DATABASE BookStore
GO
USE BookStore
GO
 
CREATE TABLE Publisher
           (
            PublisherID int IDENTITY(1, 1) NOT NULL 
             constraint PK_PUBLISHER_ID primary key,
            PublisherName nvarchar(100) NULL
           )
 
CREATE TABLE Book
           (
            ISBN varchar(10) NOT NULL,
            PublisherID int NOT NULL references Publisher(PublisherID),
            BookTitle varchar(100),
            authorName varchar(100)
          )

View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 8 and 5 and type the answer here:

User Comments

Title: Getting invalid namespace error with above sample   
Name: Krishna Sharma
Date: 12/4/2007 6:37:55 AM
Comment:
I am getting "Invalid Schema" error in the send port while inserting data. any help..If you have sample code .plz send
Title: How to update multiple tables   
Name: Gopal
Date: 11/26/2007 10:54:19 PM
Comment:
Above information only tells how to insert into multiple tables, I am trying to update multiple tables could not succeed... I did not find any information on updating multiple tables....

Error

Error details: HRESULT="0x80004005" Description="All updategram/diffgrams nodes with siblings must have ids, either user specified ones or mapping schema based key field id"

Can some one point me in right direction...

Thanks in advance
Gopal

Product Spotlight
Product Spotlight 
Learn More
.NET Tools
asp.net shopping cart
asp.net chart control






Ads Powered by Lake Quincy Media
Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 7/25/2008 3:39:39 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search