Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML Basic - SQL Server 2000
Message
De
31/08/2005 14:14:26
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
XML Basic - SQL Server 2000
Divers
Thread ID:
01045608
Message ID:
01045608
Vues:
70
I have received a XML file that looks like
<Root>
   <Record>
      <Name>John</Name>
      <Age>42</Age>
   </Record>
   <Record>
      <Name>Jeff</Name>
      <Age>18</Age>
      <State>VA</State>
   </Record>
   <Record>
      <Name>Judy</Name>
      <City>Raleigh</City>
      <State>NC</State>
   </Record>
</Root>
and need to insert the data in Employee table that has the following structure:
	<Emp_Name>  <varchar> (50) NOT NULL 
	<Emp_Age>   <int>          NULL 
	<Emp_City>  <varchar> (50) NULL 
	<Emp_State> <varchar> (50) NULL 
Is there an easy way to do this?

A response on this board and in an email to DRouleau@scc.virginia.gov would be greatly appreciated.

Thank you,
Daniel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform