Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 9th, 2014, 12:06 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to post XML to URL?

Hi,

I am trying to post a string (xml) to an url

EXEC @nval = sp_OAMethod @bj, 'send', NULL, @myString

where I have declared @mystring as

declare @mystring varchar(8000)

and I am trying to create @mystring using data from a table at runtime where the @mystring value will exceed more than 8000 character and the string is truncating after character limit.

Is there anyway where I can post the large file content either by storing the content in a variable or posting the file itself fetching from some location?

I am doing this in sql server 2000.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old July 19th, 2014, 05:20 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default XML to url

Hi jkits,

We can use WebRequest to post xml to a url, for more information:

http://msdn.microsoft.com/en-us/library/debx8sh9.aspx

But you should make sure the url can receive the data.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Post a xml file to an URL? chengjianjin XML 10 June 10th, 2010 03:05 AM
How do I post a XML file to an URL using VB? chengjianjin Visual Basic 2005 Basics 3 April 28th, 2008 06:24 AM
Using web request and response to post data to URl cgmenon .NET Framework 1.x 0 July 13th, 2006 11:39 AM
call to url while keep the form post parameters Goldwind Classic ASP Basics 0 December 25th, 2005 01:21 PM
GET URL FROM XML POST kevorkian Classic ASP XML 4 December 23rd, 2004 11:31 AM



All times are GMT -4. The time now is 08:22 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.