Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLToCursor() very long
Message
De
29/03/2004 03:57:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/03/2004 14:54:17
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00890187
Message ID:
00890356
Vues:
24
>I have a cursor with 8000 records. When I execute:
>
>
>CURSORTOXML(ALIAS(),'lcHtml',1,48,0,'1')
>
>
>it is executed in a flash. But, when I do the reverse:
>
>
>XMLTOCURSOR(lcHtml,'TempCursor')
>
>
>It takes extremely long. How can I speed that up? Right now, it takes about 2 seconds for the first code and about 2 minutes for the second.

Michel,
If it's not a must to use element centric try attribute centric.

CURSORTOXML(ALIAS(),'lcHtml',2,48,0,'1')

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform