How do SQL server 2000 and XML linked?

Answers were Sorted based on User's Feedback



How do SQL server 2000 and XML linked?..

Answer / hcl

Its linked in so many ways..To generate the output in xml
format to load the XML data into SQL Server tables.

To generate the XML data using select statement can have ,
"for XML {RAW/AUTO/EXPLICIT)" option added in the last of
sql server >=2000 (not possible in <2000).



example is

use Northwind

select * from orders where orderID in (10248, 10249) for
xml auto

Result:

<orders OrderID="10248" CustomerID="VINET" EmployeeID="5"
OrderDate="1996-07-04T00:00:00"
RequiredDate="1996-08-01T00:00:00"
ShippedDate="1996-07-16T00:00:00" ShipVia="3"
Freight="32.3800" ShipName="Vins et alcools Chevalier"
ShipAddress="59 rue de l&apos;

Is This Answer Correct ?    1 Yes 0 No

How do SQL server 2000 and XML linked?..

Answer / raghu

SQL Server can be connected with XML through IIS(Internet
information services)

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SQL Server Interview Questions

What is the use of commit?

0 Answers  


What are user defined functions in ms sql server?

0 Answers  


How do SQL server 2000 and XML linked?

2 Answers  


How to configure and test odbc dsn settings?

0 Answers  


What are types of subqueries?

0 Answers  






What is the difference between ddl,dml and dcl commands?

0 Answers   BirlaSoft, Verifone,


Detail about the hardware which is supported by SQL server?

0 Answers  


what happens on checkpoint? : Sql server database administration

0 Answers  


In what three ways is the return statement used in a stored procedure?

0 Answers  


Why truncate is ddl command?

0 Answers  


How to count duplicated values in a column in ms sql server?

0 Answers  


How many triggers are possible per table?

0 Answers  


Categories