Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy To Doesn't preserve space
Message
De
24/06/2003 17:17:12
 
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:
00803526
Vues:
14
I ended up setting up defaults in SQL. It removes the need to do something like a pre and post conversion or low level operations.

Thanks all for the suggestions.

>FWIW, Try low level "COPY TO" as in fopen/fread/fput-fwrite you have full control then.
>
>Cris
>
>
>>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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform