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
How to override dml statements with triggers?
How is sql used in sql server?
What is built-in function?
What do you mean by stored techniques? How would we use it?
how to define testing of network layers? : Sql server database administration
List the different types of collation sensitivities in sql server?
What is the purpose of floor function?
What are the restrictions that views have to follow? : SQL Server Architecture
Explain what is scheduled job and how to create it?
Why do we use functions?
What is dynamic cursor in SQL SERVER?
Explain acid?
How do you run a trace?
How do I find the size of a sql server database?
What is the sql profiler?