Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where and how store a XML?
Message
 
 
À
14/03/2009 12:40:35
Information générale
Forum:
ASP.NET
Catégorie:
XML
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Divers
Thread ID:
01387772
Message ID:
01388080
Vues:
53
TEXT deprecated? I hadn't heard that. Thanks.

>Denis,
>
>I have stored XML in SQL Server simply as a "text" data type (I guess MS is deprecating that data type in favor of "VARCHAR(MAX)", but it's still the same thing). This is comparable to a "memo" field in FoxPro.
>
>~~Bonnie
>
>
>
>>Hi,
>>The question - where and how store the XML in SQL database ..
>>For example.. in FoxPro I can easy to save XML file in Memo Binary and easy extract it. So I need someting as MEMO field on SQL Server.
>>The SQL Server has a type SqlXml.. - is this type using to store XML content on SQL Server?
>>How to save and extract it?
>>
>>Is this way is correct
>>Dim loXML as XMLDocument = new XMLDocument
>>loXML.load("c:\myxml.xml")
>>Dim lcXML as String = loXML.innerXML
>>
>>and then not possible to store this text in the Sqlxml field.
>>
>>Where is mistake in my thoughts...
>>
>>
>>P.S. the task is simple.. like in foxpo.. find the record, extract xml text.. and extract information from xml.
>>
>>Thanks
>>Denis
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform