BizTalk Server General - RE: Stored Procedure for Biztalk

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > February 2006 > RE: Stored Procedure for Biztalk





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: Stored Procedure for Biztalk
Doug Girard [MSFT]

2006-02-26, 10:47 am

This article should be very comprehensive and helpful.
http://msdn.microsoft.com/library/d...-us/BTS_2004WP/
html/74cfc9d0-0974-4f4a-81f5-6768ff245df1.asp

You'll be using the SQL Adapter Wizard in VS to create an access schema for
the stored proc. Open VS... Right click on the project and Add Generated
Items... Adapter ... SQL and configure the stored proc with parameters.
It will generate a schema for you to use for the result set. From
transport properties of the SQL receive location, you can use the schema to
specify the connection string information so the RL can access the stored
proc. That's it in a nutshell, but the docs should help considerably.

HTH,
Doug Girard [MSFT]

Note: This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>Thread-Topic: Stored Procedure for Biztalk
>thread-index: AcVxt5tH2EJlIu/dTtyvFW8o7EJmnw==
>X-WBNR-Posting-Host: 195.188.27.49
>From: "=?Utf-8?B?Um9oYW4gU29vdGFyc2luZw==?="

<RohanSootarsing@discussions.microsoft.com>
>Subject: Stored Procedure for Biztalk
>Date: Wed, 15 Jun 2005 07:36:24 -0700
>Lines: 11
>Message-ID: <26D16389-95F5-4D6D-88E5-6F8AA0153D32@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:14727
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>Hi there I am trying to write a stored procedure to query biztalk based on

a
>variable passed to it from biztalk and return all the values in a table

back
>to biztalk.
>Can anyone give me some tips on this.
>This is what ive tried so far
>
>CREATE PROCEDURE [dbo].[test](@REF varchar(50)) AS
>
>SELECT * FROM ctx4nthg WHERE REF = '@REF' for xml auto
>GO
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com