Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy To Doesn't preserve space
Message
 
 
À
20/06/2003 20:36:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00802510
Message ID:
00802531
Vues:
20
Can you post-process file and change "||" to "| |" and "|" + CHR(13) to "| " + CHR(13)?

>I'm using the following syntax:
>Copy To ( < file name > ) FIELDS < FieldList > Delimited With "" With Character "|".
>
>If the field is 1 character in length it seems to preserve that space but any field greater than one character strips all the spaces and I end up with a NULL when trying to Bulk Insert info SQL Server.
>
>I can't use fixed length. I have to use a delimiter.
>
>Is there a work around for this problem?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform