Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with a sproc using a xml input parm



I’m new to Vb.net or VB in general and need help executing a sproc with
a well-formed XML input

Here is the short version of it


Alter procedure dob.RTC_Customer_Update
( @XMLData ntext = null,

@vUser varchar(10))


as
declare @nError int
declare @sMode varchar(10)
declare @vnName varchar(100)
declare @sErrorDesc varchar(100)
declare @dTodate datetime,
@XMLHnd int

declare @TMp table (NCUSTKEY
numeric ( 6 ) ,
VCNTRYCODE
varchar ( 2 ) ,
VIDTYPE
varchar ( 1 ) ,
..
..
..
..
..
..
..
..
..
..
..
..
..
Mode
int)

begin transaction
set nocount on
if @XMLData is null
begin
select @nError=5
end

select @dToday = getdate()
EXEC sp_xml_preparedocument @XMLHnd OUTPUT, @XMLData
Inset into @Tmp (NCUSTKEY ,
VCNTRYCODE ,
VIDTYPE ,
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to use a cell value as a parm in a canned function? Rich Excel Discussion (Misc queries) 4 October 25th 07 09:20 PM
Have user input converted to uppercase in same cell as input? Shannonn New Users to Excel 1 June 20th 06 03:19 AM
How do I add input data in the input ranges in drop down boxes. oil_driller Excel Discussion (Misc queries) 1 November 9th 05 10:31 PM
=SUMIF(Input!H2:H718,AZ19,Input!E2:E685)AND(IF ALex Excel Worksheet Functions 2 March 14th 05 09:19 PM
CODE to select range based on User Input or Value of Input Field Sandi Gauthier Excel Programming 4 December 8th 03 03:22 PM


All times are GMT +1. The time now is 09:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"