Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is Event - Delegate? clear syntax for writing a event delegate

2082


Tell about your technical profile ?

3648


Does .net supports destructors concept?

2111


What is the difference between user control an custom control? Advantages/disadvantages?

1072


Why did they call it .net?

1080


what is the keyword used for self reference?

2454


What are the different.net tools which you used in projects?

1051


What is iis? Have you used it?

1086


What is a garbage collector?

1193


What is a formatter in .net?

1071


How is threading done in .net?

1064


Different between .net & j2ee ?

1183


Explain the difference between constants and read-only variables?

1157


What are the security policy levels in .Net

2142


Give a brief introduction on side-by-side execution. Can two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executables?

1011