|
-
Mar 15th, 2007, 03:06 AM
#1
Thread Starter
Fanatic Member
[MSSQL2000] chr(13) problem when export to text files
for example a column with "erick [enter] widya" when exported it put 'widya' one row below 'erick' where it need to be in same row so when imported back otherwise it return error
is there a way?
my final effort is : using somekind Spesial Character to replace [Enter] whenever it saved into a table so it can fit in one row when exported and when read back just replace those Spesial Character with [Enter]
but i just need to be sure that there's no other way
thanks
-
Mar 15th, 2007, 12:48 PM
#2
Re: [MSSQL2000] chr(13) problem when export to text files
Why not use the REPLACE function in SQL Server. Replace CHAR(10)+CHAR(13) (or was it CHAR(13)+CHAR(10)?) with a space.
-
Mar 15th, 2007, 08:19 PM
#3
Thread Starter
Fanatic Member
Re: [MSSQL2000] chr(13) problem when export to text files
thanks kaffenils
Replace CHAR(10)+CHAR(13) (or was it CHAR(13)+CHAR(10)?)
i think the 2nd one is correct Carriage Return is CHAR(13) + Line Feed is CHAR(10)
well if i'm using space when is imported it would be using Space while i'm trying to used its original format..
guess have to try those 'spesial character' instead..
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|