Answer Posted / 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'
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what types of replication are supported in sql server? : Sql server database administration
How to create hyperlink from returned sql query ?
What are acid properties of transaction?
How to check if stored procedure is running in sql server?
Write a sql query to get zero records from a table having n number of records?
What does REVERT do in SQL Server 2005?
When you use @@error and try-catch?
what's the information that can be stored inside a bit column? : Sql server database administration
Define compound operators?
Do you know what is sql service broker?
What are blobs, tables, and Queues? Is SQL is the standard way to query blobs, tables, and queues?
What is a trigger? Why we need it?
What is normalization 1nf 2nf 3nf?
In case you have filters in your report, when filters will be applied in cached report instance?
Can we add a cpu to sql server?