MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 7th, 2004, 04:26 AM
m3ckon m3ckon is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Sheffield UK
Posts: 69 m3ckon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 57 sec
Reputation Power: 5
SQL Server 2000 XML Integration

HI,

at present I import an XML doc into Access using VBA. The XML is generated from a url on a 3rd party website.

I have upsized to SQL Server 2000 and wish to import this document still but I'm unsure how to do it or where to start looking. All the info I've found to date involves allowing you to send queries to SQL server over http, by setting up a virtual directory in IIS or by importing a saved xml document ... not one that is obtained from a url.

Can someone help me please?

M3ckon

Reply With Quote
  #2  
Old April 19th, 2004, 06:57 AM
Salizar's Avatar
Salizar Salizar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 289 Salizar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Quote:
Originally Posted by m3ckon
HI,

at present I import an XML doc into Access using VBA. The XML is generated from a url on a 3rd party website.

I have upsized to SQL Server 2000 and wish to import this document still but I'm unsure how to do it or where to start looking. All the info I've found to date involves allowing you to send queries to SQL server over http, by setting up a virtual directory in IIS or by importing a saved xml document ... not one that is obtained from a url.

Can someone help me please?

M3ckon



MS SQL 2000 allows you to export query results to XML. Or as you have also found allows HTTP access. It does NOT allow you to import XML data with out parsing it thorugh some other source first, such as your VB app that you mentioned...

Reply With Quote
  #3  
Old April 19th, 2004, 07:00 AM
m3ckon m3ckon is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Sheffield UK
Posts: 69 m3ckon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 57 sec
Reputation Power: 5
Thanks for the reply ... however, I've managed to get this working now

I created a DTS package that accessed an ActiveX scripting component and I call this DTS package using an sproc.

I was thinking about writing an article on this as my method is relatively straightforward, yet all the web sites I found detailed very complex methods of doing this

M3ckon

Reply With Quote
  #4  
Old May 8th, 2004, 06:47 AM
demokritos demokritos is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 2 demokritos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
activex scripting xml exporting

Hi,
I used sproc but it did not generate the first line of the xml:
<?xml version="1.0" encoding="ISO-8859-9" ?>
what did i do wrong, is there anybody that can help?

and also i do not know how execute that package....

and also is there a way that i can write the output into a txt.....

Thanks for the reply ... however, I've managed to get this working now

I created a DTS package that accessed an ActiveX scripting component and I call this DTS package using an sproc.

I was thinking about writing an article on this as my method is relatively straightforward, yet all the web sites I found detailed very complex methods of doing this

M3ckon

Reply With Quote
  #5  
Old May 10th, 2004, 03:38 AM
m3ckon m3ckon is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Sheffield UK
Posts: 69 m3ckon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 57 sec
Reputation Power: 5
Can you say that a bit clearer please ans I'll try to help

M3ckon

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > SQL Server 2000 XML Integration


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway