Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy To Doesn't preserve space
Message
From
24/06/2003 17:17:12
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00802510
Message ID:
00803526
Views:
13
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform