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 is importing utility?
What is user defined stored procedures?
Hi all, can any one please tell me the difference between sql server 2008 and orace 9i
Mention the 3 ways to get a count of the number of records in a table.
Explain how to integrate the ssrs reports in application?
Is truncate a dml command?
List types of tables in SQL Azure?
What are the differences between sql server and mysql.
What is tablix?
What is a field in a table?
What encryption security is available in sql azure?
How to sort query output in descending order in ms sql server?
Explain datetime2 data type in sal server 2008?
Do you know what are the differences between lost updates and uncommitted dependencies?
How will you hide an attribute? : sql server analysis services, ssas