Sybase BCP - using a delimiter from the ASCII extended codes

Hi,

My user encountered problems in loading a bcp file becuase the delimiter was embedded somewhere in the data.    Now, he wants to use a special character from  the ASCII Extended Code, decimal 145 and 146 as column and row delimiters.   He said there are the only 2 that are not found in the data.   Dec-145 looks like a 'ae' attached together, dec-146 is the upper case, AE, attached together.  My problem is, I can't type that in UNIX.     My user requires a bcp file that uses only 1 char as delimiter, so something like  '|||'  will not work.  

How can I use these characters at the bcp statement?  Or can I use alt-something?  or the hex value?   If this is not do-able,  what are my options?

If you want to see what this characters look like, go to www.lookuptables.com.

BTW, our charset is 'cp850'.

Thanks.
Maria

maria_rossiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joe WoodhousePrincipal ConsultantCommented:
Hmm. I think this is actually more a UNIX problem?

You could try cutting and pasting the character from somewhere you *can* display it. Most UNIXes will allow you to insert literal non-alphanumeric characters if you do a CTRL-V first - the very next character is displayed without being interpreted.

It's a pity they only want single-character delimiters as that's the usual way to fix this.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
maria_rossiAuthor Commented:
It worked!!   I found the Æ and the æ from MSWord (from symbols), then copy and pasted it into my bcp statement at UNIX.  Tested the bcp file by loading to a test table successfully.   The wonders  of copy-and-paste.   I should have thought of that.  I guess I mind was on a different track.
Thanks a lot.
Maria
0
Joe WoodhousePrincipal ConsultantCommented:
It's easy to think of something like this as an obscure database problem. I only knew to suggest it because once it was the only way I could fix something similar! 8->
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Sybase Database

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.