dbTalk Databases Forums  

XML in SQLServer 2005/2008

microsoft.public.sqlserver.xml microsoft.public.sqlserver.xml


Discuss XML in SQLServer 2005/2008 in the microsoft.public.sqlserver.xml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
rgn
 
Posts: n/a

Default XML in SQLServer 2005/2008 - 11-20-2009 , 12:27 PM






I'm beginning to learn XML with SQLServer. If SQLXML delivered the features
in SQLServer 2000 and if it is deprecated in SQLServer 2005/2008 what
component
delivers the XML features in SQLServer 2005/2008.

Thanks,
grajee

Reply With Quote
  #2  
Old   
Bob Beauchemin
 
Posts: n/a

Default Re: XML in SQLServer 2005/2008 - 11-20-2009 , 03:29 PM






The XML data type and XQuery methods do this in SQL Server 2005-8. XML data
type supports XSD schema validation. SELECT...FOR XML is expanded. The XML
nodes method is a more lightweight version of OPENXML. INSERT SELECT....
FROM OPENROWSERT BULK... can import XML from a file. Because of .NET support
in 2005-8, you can also write function/procs using System.Xml.dll and
friends. XML content (but not tags) can be used with fulltext search.

What exactly were you looking for? ;-)

Cheers,
Bob Beauchemin
SQLskills

"rgn" <rgn (AT) discussions (DOT) microsoft.com> wrote

Quote:
I'm beginning to learn XML with SQLServer. If SQLXML delivered the
features
in SQLServer 2000 and if it is deprecated in SQLServer 2005/2008 what
component
delivers the XML features in SQLServer 2005/2008.

Thanks,
grajee

Reply With Quote
  #3  
Old   
Gopinath Rajee
 
Posts: n/a

Default Re: XML in SQLServer 2005/2008 - 11-23-2009 , 11:32 PM



Bob,

I'm kicking myself for not having learnt XML in SQLServer 2000 itself as it
was much easier to understand since the scope was very limited. I just
started to learn XML and I ended up in learning it in SQLServer 2008.

As you already know, for a beginner, SQLServer 2008 offers huge number of
features and it can be quite intimidating. I just thought it would help me
learn better/faster if I started off from the XML implementation in
SQLServer 2000 and follow it through the evolution.

I was under the impression that SQLXML was a component of the back-end in
SQLServer 2000. Am I correct?


I found "Microsoft SQLXML 4.0 SP1" in the feature pack. Now is this a part
of the SQLServer back-end (which means it would go along with the SQLServer
Engine) or is it a Client Component that needs to be installed in every
developers workstation?
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April 2009 -------------------------------------------------------
Microsoft SQLXML 4.0 SP1
SQLXML enables XML support for your SQL Server Database. It allows
developers to bridge the gap between XML and relational data. You can create
XML View of your existing relational data and work with it as if it was an
XML file. SQLXML allows you to:
Query relational database with XPath
Update relational data as if it was XML
Load XML into SQL Server
Query SQL Server OLEDB/ADO or .NET Framework Managed Classes
Microsoft SQLXML 4.0 SP1 provides support for new SQL Server 2008 data types
such as Date, Time, DateTime2 and DateTimeOffset.
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April 2009 -------------------------------------------------------


Similarly is the "Microsoft Core XML Services" a part of SQLServer back-end
(which means it would go along with the SQLServer Engine) or is it a Client
Component that needs to be installed in every developers workstation?
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April 2009 -------------------------------------------------------
Microsoft Core XML Services (MSXML) 6.0
Microsoft Core XML Services (MSXML) 6.0 is the latest version of the native
XML processing stack. MSXML 6.0 provides standards-conformant
implementations of XML 1.0, XML Schema (XSD) 1.0, XPath 1.0, and XSLT 1.0.
In addition, it offers 64-bit support, increased security for working with
untrusted XML data, and improved reliability over previous versions of
MSXML.
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April 2009 -------------------------------------------------------

Thanks,
rgn

"Bob Beauchemin" <no_bobb_spam (AT) sqlskills (DOT) com> wrote

Quote:
The XML data type and XQuery methods do this in SQL Server 2005-8. XML
data type supports XSD schema validation. SELECT...FOR XML is expanded.
The XML nodes method is a more lightweight version of OPENXML. INSERT
SELECT.... FROM OPENROWSERT BULK... can import XML from a file. Because of
.NET support in 2005-8, you can also write function/procs using
System.Xml.dll and friends. XML content (but not tags) can be used with
fulltext search.

What exactly were you looking for? ;-)

Cheers,
Bob Beauchemin
SQLskills

"rgn" <rgn (AT) discussions (DOT) microsoft.com> wrote in message
news:FC596E5E-A494-4C34-8242-55042FE5190E (AT) microsoft (DOT) com...
I'm beginning to learn XML with SQLServer. If SQLXML delivered the
features
in SQLServer 2000 and if it is deprecated in SQLServer 2005/2008 what
component
delivers the XML features in SQLServer 2005/2008.

Thanks,
grajee

Reply With Quote
  #4  
Old   
Bob Beauchemin
 
Posts: n/a

Default Re: XML in SQLServer 2005/2008 - 11-24-2009 , 12:11 AM



SQLXML 4.0 is the continuation of the SQLXML releases from SQL Server 2000.
However the URL-based access has been dropped. Where you'd install it
depends on which pieces you are using and why. Some pieces would be used on
a middle-tier server, others on client.

But, if you're going to SQL Server 2005-2008, I'd strongly suggest getting
up to speed on the (much more extensive) XML functionality in those
releases.

Cheers,
Bob


"Gopinath Rajee" <rgopinath (AT) hotmail (DOT) com> wrote

Quote:
Bob,

I'm kicking myself for not having learnt XML in SQLServer 2000 itself as
it was much easier to understand since the scope was very limited. I just
started to learn XML and I ended up in learning it in SQLServer 2008.

As you already know, for a beginner, SQLServer 2008 offers huge number of
features and it can be quite intimidating. I just thought it would help me
learn better/faster if I started off from the XML implementation in
SQLServer 2000 and follow it through the evolution.

I was under the impression that SQLXML was a component of the back-end in
SQLServer 2000. Am I correct?


I found "Microsoft SQLXML 4.0 SP1" in the feature pack. Now is this a part
of the SQLServer back-end (which means it would go along with the
SQLServer Engine) or is it a Client Component that needs to be installed
in every developers workstation?
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April 2009 -------------------------------------------------------
Microsoft SQLXML 4.0 SP1
SQLXML enables XML support for your SQL Server Database. It allows
developers to bridge the gap between XML and relational data. You can
create XML View of your existing relational data and work with it as if it
was an XML file. SQLXML allows you to:
Query relational database with XPath
Update relational data as if it was XML
Load XML into SQL Server
Query SQL Server OLEDB/ADO or .NET Framework Managed Classes
Microsoft SQLXML 4.0 SP1 provides support for new SQL Server 2008 data
types such as Date, Time, DateTime2 and DateTimeOffset.
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April 2009 -------------------------------------------------------


Similarly is the "Microsoft Core XML Services" a part of SQLServer
back-end (which means it would go along with the SQLServer Engine) or is
it a Client Component that needs to be installed in every developers
workstation?
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April 2009 -------------------------------------------------------
Microsoft Core XML Services (MSXML) 6.0
Microsoft Core XML Services (MSXML) 6.0 is the latest version of the
native XML processing stack. MSXML 6.0 provides standards-conformant
implementations of XML 1.0, XML Schema (XSD) 1.0, XPath 1.0, and XSLT 1.0.
In addition, it offers 64-bit support, increased security for working with
untrusted XML data, and improved reliability over previous versions of
MSXML.
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April 2009 -------------------------------------------------------

Thanks,
rgn

"Bob Beauchemin" <no_bobb_spam (AT) sqlskills (DOT) com> wrote in message
news:Oo4$AiiaKHA.1652 (AT) TK2MSFTNGP05 (DOT) phx.gbl...
The XML data type and XQuery methods do this in SQL Server 2005-8. XML
data type supports XSD schema validation. SELECT...FOR XML is expanded.
The XML nodes method is a more lightweight version of OPENXML. INSERT
SELECT.... FROM OPENROWSERT BULK... can import XML from a file. Because
of .NET support in 2005-8, you can also write function/procs using
System.Xml.dll and friends. XML content (but not tags) can be used with
fulltext search.

What exactly were you looking for? ;-)

Cheers,
Bob Beauchemin
SQLskills

"rgn" <rgn (AT) discussions (DOT) microsoft.com> wrote in message
news:FC596E5E-A494-4C34-8242-55042FE5190E (AT) microsoft (DOT) com...
I'm beginning to learn XML with SQLServer. If SQLXML delivered the
features
in SQLServer 2000 and if it is deprecated in SQLServer 2005/2008 what
component
delivers the XML features in SQLServer 2005/2008.

Thanks,
grajee

Reply With Quote
  #5  
Old   
Gopinath Rajee
 
Posts: n/a

Default Re: XML in SQLServer 2005/2008 - 11-24-2009 , 09:11 PM



Where can I read more about these? Can you point me in the right
direction(books, blogs .... etc) ? Information to create XML documents, XML
Schemas, XSLT transformation are every where but not info on these
internals.

rgn

"Bob Beauchemin" <no_bobb_spam (AT) sqlskills (DOT) com> wrote

Quote:
SQLXML 4.0 is the continuation of the SQLXML releases from SQL Server
2000. However the URL-based access has been dropped. Where you'd install
it depends on which pieces you are using and why. Some pieces would be
used on a middle-tier server, others on client.

But, if you're going to SQL Server 2005-2008, I'd strongly suggest getting
up to speed on the (much more extensive) XML functionality in those
releases.

Cheers,
Bob


"Gopinath Rajee" <rgopinath (AT) hotmail (DOT) com> wrote in message
news:6ADD5F57-6ABB-4393-850E-2EA673446CEB (AT) microsoft (DOT) com...
Bob,

I'm kicking myself for not having learnt XML in SQLServer 2000 itself as
it was much easier to understand since the scope was very limited. I just
started to learn XML and I ended up in learning it in SQLServer 2008.

As you already know, for a beginner, SQLServer 2008 offers huge number of
features and it can be quite intimidating. I just thought it would help
me learn better/faster if I started off from the XML implementation in
SQLServer 2000 and follow it through the evolution.

I was under the impression that SQLXML was a component of the back-end in
SQLServer 2000. Am I correct?


I found "Microsoft SQLXML 4.0 SP1" in the feature pack. Now is this a
part of the SQLServer back-end (which means it would go along with the
SQLServer Engine) or is it a Client Component that needs to be installed
in every developers workstation?
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April 2009 -------------------------------------------------------
Microsoft SQLXML 4.0 SP1
SQLXML enables XML support for your SQL Server Database. It allows
developers to bridge the gap between XML and relational data. You can
create XML View of your existing relational data and work with it as if
it was an XML file. SQLXML allows you to:
Query relational database with XPath
Update relational data as if it was XML
Load XML into SQL Server
Query SQL Server OLEDB/ADO or .NET Framework Managed Classes
Microsoft SQLXML 4.0 SP1 provides support for new SQL Server 2008 data
types such as Date, Time, DateTime2 and DateTimeOffset.
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April 2009 -------------------------------------------------------


Similarly is the "Microsoft Core XML Services" a part of SQLServer
back-end (which means it would go along with the SQLServer Engine) or is
it a Client Component that needs to be installed in every developers
workstation?
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April 2009 -------------------------------------------------------
Microsoft Core XML Services (MSXML) 6.0
Microsoft Core XML Services (MSXML) 6.0 is the latest version of the
native XML processing stack. MSXML 6.0 provides standards-conformant
implementations of XML 1.0, XML Schema (XSD) 1.0, XPath 1.0, and XSLT
1.0. In addition, it offers 64-bit support, increased security for
working with untrusted XML data, and improved reliability over previous
versions of MSXML.
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April 2009 -------------------------------------------------------

Thanks,
rgn

"Bob Beauchemin" <no_bobb_spam (AT) sqlskills (DOT) com> wrote in message
news:Oo4$AiiaKHA.1652 (AT) TK2MSFTNGP05 (DOT) phx.gbl...
The XML data type and XQuery methods do this in SQL Server 2005-8. XML
data type supports XSD schema validation. SELECT...FOR XML is expanded.
The XML nodes method is a more lightweight version of OPENXML. INSERT
SELECT.... FROM OPENROWSERT BULK... can import XML from a file. Because
of .NET support in 2005-8, you can also write function/procs using
System.Xml.dll and friends. XML content (but not tags) can be used with
fulltext search.

What exactly were you looking for? ;-)

Cheers,
Bob Beauchemin
SQLskills

"rgn" <rgn (AT) discussions (DOT) microsoft.com> wrote in message
news:FC596E5E-A494-4C34-8242-55042FE5190E (AT) microsoft (DOT) com...
I'm beginning to learn XML with SQLServer. If SQLXML delivered the
features
in SQLServer 2000 and if it is deprecated in SQLServer 2005/2008 what
component
delivers the XML features in SQLServer 2005/2008.

Thanks,
grajee


Reply With Quote
  #6  
Old   
Bob Beauchemin
 
Posts: n/a

Default Re: XML in SQLServer 2005/2008 - 11-25-2009 , 06:48 PM



I'd start with the SQL Server 2008 Books Online.

Designing and Implementing Semistructured Storage
http://msdn.microsoft.com/en-us/library/bb522446.aspx
XQuery Language Reference
http://msdn.microsoft.com/en-us/library/ms189075.aspx
SQLXML 4.0 Programming Concepts
http://msdn.microsoft.com/en-us/library/ms171779.aspx

And go on from there.

Cheers,
Bob


"Gopinath Rajee" <rgopinath (AT) hotmail (DOT) com> wrote

Quote:
Where can I read more about these? Can you point me in the right
direction(books, blogs .... etc) ? Information to create XML documents,
XML Schemas, XSLT transformation are every where but not info on these
internals.

rgn

"Bob Beauchemin" <no_bobb_spam (AT) sqlskills (DOT) com> wrote in message
news:#ZiSxzMbKHA.5544 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
SQLXML 4.0 is the continuation of the SQLXML releases from SQL Server
2000. However the URL-based access has been dropped. Where you'd install
it depends on which pieces you are using and why. Some pieces would be
used on a middle-tier server, others on client.

But, if you're going to SQL Server 2005-2008, I'd strongly suggest
getting up to speed on the (much more extensive) XML functionality in
those releases.

Cheers,
Bob


"Gopinath Rajee" <rgopinath (AT) hotmail (DOT) com> wrote in message
news:6ADD5F57-6ABB-4393-850E-2EA673446CEB (AT) microsoft (DOT) com...
Bob,

I'm kicking myself for not having learnt XML in SQLServer 2000 itself as
it was much easier to understand since the scope was very limited. I
just started to learn XML and I ended up in learning it in SQLServer
2008.

As you already know, for a beginner, SQLServer 2008 offers huge number
of features and it can be quite intimidating. I just thought it would
help me learn better/faster if I started off from the XML implementation
in SQLServer 2000 and follow it through the evolution.

I was under the impression that SQLXML was a component of the back-end
in SQLServer 2000. Am I correct?


I found "Microsoft SQLXML 4.0 SP1" in the feature pack. Now is this a
part of the SQLServer back-end (which means it would go along with the
SQLServer Engine) or is it a Client Component that needs to be installed
in every developers workstation?
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April
009 -------------------------------------------------------
Microsoft SQLXML 4.0 SP1
SQLXML enables XML support for your SQL Server Database. It allows
developers to bridge the gap between XML and relational data. You can
create XML View of your existing relational data and work with it as if
it was an XML file. SQLXML allows you to:
Query relational database with XPath
Update relational data as if it was XML
Load XML into SQL Server
Query SQL Server OLEDB/ADO or .NET Framework Managed Classes
Microsoft SQLXML 4.0 SP1 provides support for new SQL Server 2008 data
types such as Date, Time, DateTime2 and DateTimeOffset.
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April
009 -------------------------------------------------------


Similarly is the "Microsoft Core XML Services" a part of SQLServer
back-end (which means it would go along with the SQLServer Engine) or is
it a Client Component that needs to be installed in every developers
workstation?
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April
009 -------------------------------------------------------
Microsoft Core XML Services (MSXML) 6.0
Microsoft Core XML Services (MSXML) 6.0 is the latest version of the
native XML processing stack. MSXML 6.0 provides standards-conformant
implementations of XML 1.0, XML Schema (XSD) 1.0, XPath 1.0, and XSLT
1.0. In addition, it offers 64-bit support, increased security for
working with untrusted XML data, and improved reliability over previous
versions of MSXML.
-------------------------------------- Microsoft SQL Server 2008 Feature
Pack, April
009 -------------------------------------------------------

Thanks,
rgn

"Bob Beauchemin" <no_bobb_spam (AT) sqlskills (DOT) com> wrote in message
news:Oo4$AiiaKHA.1652 (AT) TK2MSFTNGP05 (DOT) phx.gbl...
The XML data type and XQuery methods do this in SQL Server 2005-8. XML
data type supports XSD schema validation. SELECT...FOR XML is expanded.
The XML nodes method is a more lightweight version of OPENXML. INSERT
SELECT.... FROM OPENROWSERT BULK... can import XML from a file. Because
of .NET support in 2005-8, you can also write function/procs using
System.Xml.dll and friends. XML content (but not tags) can be used with
fulltext search.

What exactly were you looking for? ;-)

Cheers,
Bob Beauchemin
SQLskills

"rgn" <rgn (AT) discussions (DOT) microsoft.com> wrote in message
news:FC596E5E-A494-4C34-8242-55042FE5190E (AT) microsoft (DOT) com...
I'm beginning to learn XML with SQLServer. If SQLXML delivered the
features
in SQLServer 2000 and if it is deprecated in SQLServer 2005/2008 what
component
delivers the XML features in SQLServer 2005/2008.

Thanks,
grajee


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.