Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I'm Curious...
Message
De
07/04/2011 16:42:26
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01506393
Message ID:
01506457
Vues:
78
>SQL Server Native Client doesn't work with varchar(max) but does work with Text (but they tell you not use text). The upside of using SQL Server Native Client is that it works with the new Date field types in SQL Server 2008.
>
>If you use the other drive (can't remember the name right now), then varchar(max) works correctly the the date field comes over as a string.
>
>For what it's worth I use the SQL Server Native Client with SQL Server 2008 and use Text fields with no negative effects (millions of records) and using full-text indexing.

The limitation I ran into with Text fields is that they can't be part of a GROUP BY clause. No big deal, except this also means no SELECT DISTINCT... which also effect UNIONs (unless you use UNION ALL). Switching to varchar(MAX) solved those problems for me, and I got around the Char(0) problem using a CursorAdapter with a schema. I don't think SQL Passthrough allows you to specify a schema.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform