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

Click here to load this message in the networking platform