you have a requirement from client, he has an XML file and
you need to insert the data into 5-6 tables in database.
explain me the procedure.
Answer Posted / santosh kakani
we can use sqlserver 2005 for inserting data from XML into
database tables
example
insert into <Table_Name> select * from openxml(@doc,
'/Root/customer',;)
with (Custid varchar(10)'/Root/Customer/@Custid', cname
varchar(30)'/Root/Customer/@Cname')
then Exec sp_Xml_RemoveDocument @ doc
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What are the types of jit?
Is .net core installed?
what user controls are and what server controls are and the differences between the two.
What is .net environment?
What exactly is being serialized when you perform serialization in .net?
How do you create threading in.net?
What is the difference between response.redirect & server.transfer?
What is "common language runtime" (clr) in .net?
What is different between webusercontrol and in webcustomcontrol?
Explain the main components in .net?
What is the difference between .net 2000 and .net 2005(features)? Which one is better?
What are the properties of ADO.NET?
Explain me difference between public and static modifiers?
How do you generate a strong name?
Explain the features that are common to all .Net languages.