473,396 Members | 1,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Generating XML files from a database

Hello everyone,

Here is the situation. I've looked all day about this subject over the net
and I'm kinda confused...

I was ask to generate, on a daily basis, some XML files from a SQL Server
2000 database.

What is the best strategy to perform such a task?

I was looking foward using the DTS package within SQL Server but it doesn't
seem to have any function that could help me there. I also looked in the
direction of programming SQL Server Stored procedures but didn't found any
great solutions...
Should I write a .NET application that request the data from the server
then, create the XML file manually?

Or could you informe me of some kind of utility that could help me perform
this task?

Thx for the help!
Nov 12 '05 #1
3 1277
Depends on your needs. Using .NET is fine. If you want
to generate it right out of the database, SQL Server can handle this
as well:

http://www.eggheadcafe.com/articles/20030804.asp

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net

"Dominic Feron" <do***********@dessausoprin.com> wrote in message
news:e7**************@TK2MSFTNGP14.phx.gbl...
Hello everyone,

Here is the situation. I've looked all day about this subject over the net
and I'm kinda confused...

I was ask to generate, on a daily basis, some XML files from a SQL Server
2000 database.

What is the best strategy to perform such a task?

I was looking foward using the DTS package within SQL Server but it
doesn't
seem to have any function that could help me there. I also looked in the
direction of programming SQL Server Stored procedures but didn't found any
great solutions...
Should I write a .NET application that request the data from the server
then, create the XML file manually?

Or could you informe me of some kind of utility that could help me perform
this task?

Thx for the help!

Nov 12 '05 #2
Thx for the info!

But I think I found another way..

Our company just bought Reporting Services for Microsoft SQL Server. It is
possible to generate a reports then export the result in XML. It is even
possible to schedule these kinds of tasks!
"Robbe Morris [C# MVP]" <in**@eggheadcafe.com> a écrit dans le message de
news:u0*************@TK2MSFTNGP15.phx.gbl...
Depends on your needs. Using .NET is fine. If you want
to generate it right out of the database, SQL Server can handle this
as well:

http://www.eggheadcafe.com/articles/20030804.asp

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net

"Dominic Feron" <do***********@dessausoprin.com> wrote in message
news:e7**************@TK2MSFTNGP14.phx.gbl...
Hello everyone,

Here is the situation. I've looked all day about this subject over the net and I'm kinda confused...

I was ask to generate, on a daily basis, some XML files from a SQL Server 2000 database.

What is the best strategy to perform such a task?

I was looking foward using the DTS package within SQL Server but it
doesn't
seem to have any function that could help me there. I also looked in the
direction of programming SQL Server Stored procedures but didn't found any great solutions...
Should I write a .NET application that request the data from the server
then, create the XML file manually?

Or could you informe me of some kind of utility that could help me perform this task?

Thx for the help!


Nov 12 '05 #3
Hmmm. should have mentioned your desire to create reports.
ActiveReports.NET from http://www.datadynamics.com is an
extremely powerful product. Probably a lot cheaper too.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net

"Dominic Feron" <do***********@dessausoprin.com> wrote in message
news:Ot**************@TK2MSFTNGP10.phx.gbl...
Thx for the info!

But I think I found another way..

Our company just bought Reporting Services for Microsoft SQL Server. It is
possible to generate a reports then export the result in XML. It is even
possible to schedule these kinds of tasks!
"Robbe Morris [C# MVP]" <in**@eggheadcafe.com> a écrit dans le message de
news:u0*************@TK2MSFTNGP15.phx.gbl...
Depends on your needs. Using .NET is fine. If you want
to generate it right out of the database, SQL Server can handle this
as well:

http://www.eggheadcafe.com/articles/20030804.asp

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net

"Dominic Feron" <do***********@dessausoprin.com> wrote in message
news:e7**************@TK2MSFTNGP14.phx.gbl...
> Hello everyone,
>
> Here is the situation. I've looked all day about this subject over the net > and I'm kinda confused...
>
> I was ask to generate, on a daily basis, some XML files from a SQL Server > 2000 database.
>
> What is the best strategy to perform such a task?
>
> I was looking foward using the DTS package within SQL Server but it
> doesn't
> seem to have any function that could help me there. I also looked in
> the
> direction of programming SQL Server Stored procedures but didn't found any > great solutions...
>
>
> Should I write a .NET application that request the data from the server
> then, create the XML file manually?
>
> Or could you informe me of some kind of utility that could help me perform > this task?
>
> Thx for the help!
>
>



Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dan Gass | last post by:
The difflib.py module and the diff.py tools script in Python 2.4 alpha 3 now support generating side by side (with intra line differences) in HTML format. I have found this useful for performing...
17
by: flupke | last post by:
Hi, i create my GUIs mainly via wxGlade. However when you start of to program and want to do some rearranging to the gui, wxglade overwrites your file and you've got to put your own code back...
2
by: google.groups.tr | last post by:
I have an Access 97 database that has a routine to generate a unique report as a PDF file and email it to one person, and loops about 300 times. Each instance through the loop uses a registry...
3
by: daniele.balducci | last post by:
Hi All, I'm generating XLS files from ASP(.Net) code using the usual code chunks ... Response.ContentType = "application/vnd.ms-excel" Response.AppendHeader("Content-Disposition", "attachment;...
1
by: Ryan Ginstrom | last post by:
I have been maintaining a body of documentation in plain HTML files. I would now like to automate the generation of the HTML files. Maintaining the HTML files now is tedious and error prone,...
2
by: | last post by:
I have some sensitive data encrypted in a database. I need to allow the authorized people to produce a report (obviously, unencrypted) that they can send to the appropriate partners. Can I set it...
7
by: Nathan Sokalski | last post by:
I am an ASP.NET developer, and Visual Studio 2005 seems to have stopped declaring the controls that I add in the *.designer.vb files, therefore forcing me to manually add them before I can use them...
1
by: Nathan Sokalski | last post by:
Visual Studio 2005 recently stopped generating the *.designer.vb files for my *.aspx and *.ascx files. I am using Service Pack 1, and do not believe I did anything differently than normal prior to...
0
by: Aswanth | last post by:
I'm Generating Reports in SSRS-2005.. Previously I got the Data from One Database & Generated Reports.. Now I used to get the Data from Two Different Databases(ie Database-1 & Database-2) & to...
3
by: fishnfrogs | last post by:
Hi all! I have some data on my database that only gets update once a month. I'm interested in caching that data to xml and storing on my server so that the database isnt being called everytime...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.