473,378 Members | 1,478 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Problem in loading Roman8 characters (ä, ü )into SQL server.

Ram
We are trying to load text tab delimited files into SQL server using
informatica 5.1 version. The text files are FTPed to a local server
and then files are moved to applicable folder before loading.

The problem is when we open the files after FTP the characters are
already converted to something else. EX: ü got converted as Ï.

Now when we load them into SQL server we want Ï to transfer as ü
again.

In informatica we use relational database connection and specify SQL
server as server type, there is no place where you can specify the
character conversion parameter.

Can anybody help solving this problem ?

Thanks in advance.
Ram.
Jul 20 '05 #1
4 5174

"Ram" <ra*****@yahoo.com> wrote in message
news:6c**************************@posting.google.c om...
We are trying to load text tab delimited files into SQL server using
informatica 5.1 version. The text files are FTPed to a local server
and then files are moved to applicable folder before loading.

The problem is when we open the files after FTP the characters are
already converted to something else. EX: ü got converted as Ï.

Now when we load them into SQL server we want Ï to transfer as ü
again.

In informatica we use relational database connection and specify SQL
server as server type, there is no place where you can specify the
character conversion parameter.

Can anybody help solving this problem ?

Thanks in advance.
Ram.


I'm not sure I understand completely - are you saying that after you FTP the
file to the server's filesystem, but before loading it into MSSQL, the
characters have changed? If so, then you would have to look into how it's
FTPd, are there different Windows code pages on the servers, is the source
system a different OS etc. If the characters change when loaded into MSSQL,
then you would start by looking at the data types of the destination
columns, and the collation of the database.

Simon
Jul 20 '05 #2
Ram
> I'm not sure I understand completely - are you saying that after you FTP the
file to the server's filesystem, but before loading it into MSSQL, the
characters have changed? If so, then you would have to look into how it's
FTPd, are there different Windows code pages on the servers, is the source
system a different OS etc. If the characters change when loaded into MSSQL,
then you would start by looking at the data types of the destination
columns, and the collation of the database.

Simon


Hi Simon,

Thanks for your response, the text files are extracted from a server
with Roman 8 code page and they tried to FTP the files in both binary
and ASCII modes.
After FTP the results were same in both cases meaning the characters
looks exactly same when we open these text files with notepad.

So the extract team said we have to do the conversion before loading
into SQL server.

I don't know if this makes any sense but only option for me is to
convert them before loading.

Thanks,
Ram.
Jul 20 '05 #3

"Ram" <ra*****@yahoo.com> wrote in message
news:6c**************************@posting.google.c om...
I'm not sure I understand completely - are you saying that after you FTP the file to the server's filesystem, but before loading it into MSSQL, the
characters have changed? If so, then you would have to look into how it's FTPd, are there different Windows code pages on the servers, is the source system a different OS etc. If the characters change when loaded into MSSQL, then you would start by looking at the data types of the destination
columns, and the collation of the database.

Simon


Hi Simon,

Thanks for your response, the text files are extracted from a server
with Roman 8 code page and they tried to FTP the files in both binary
and ASCII modes.
After FTP the results were same in both cases meaning the characters
looks exactly same when we open these text files with notepad.

So the extract team said we have to do the conversion before loading
into SQL server.

I don't know if this makes any sense but only option for me is to
convert them before loading.

Thanks,
Ram.


So when the files arrive on the MSSQL server's filesystem, the data is
correct in notepad, but incorrect after loading it into the database? If so,
then perhaps you could post the destination table DDL (CREATE TABLE
statement), as well as the database collation (and the version of MSSQL
also). If you normally always load the data with Informatica, then it might
be useful to load it with DTS and/or BCP as well, to try and narrow down the
problem.

Simon
Jul 20 '05 #4
Ram (ra*****@yahoo.com) writes:
We are trying to load text tab delimited files into SQL server using
informatica 5.1 version. The text files are FTPed to a local server
and then files are moved to applicable folder before loading.

The problem is when we open the files after FTP the characters are
already converted to something else. EX: ü got converted as Ï.

Now when we load them into SQL server we want Ï to transfer as ü
again.

In informatica we use relational database connection and specify SQL
server as server type, there is no place where you can specify the
character conversion parameter.


You don't say how you load these files. Do you use BCP? DTS? BULK INSERT?

If you a load a file with BCP, there are some possibilities for conversion,
however, I am uncertain that they are workable here. You talk about Roman8,
and the Roman8 I know is a 8-bit character set that was (is?) in use on
HP-UX. I doubt that Microsoft has support for this, at least within the
realm of SQL Server. I know that MS has a product with the name "services
for Unix" in the name, but I know little of what it does.

Your best bet may be to write a simple conversion program that converts
Roman8 to the ANSI code page.
--
Erland Sommarskog, SQL Server MVP, so****@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Harry | last post by:
Folks I am trying to input the characters of a string into an array. The array needs to hold strings, so I need to convert the characters into strings and then input them into the array. I run...
6
by: Markus Zeindl | last post by:
Hello, I want to write a simple encrypter, but I've got a problem: How can I convert characters into integers? I have got a string from the user, for example "Hi!". Now I get every character...
1
by: Nomad | last post by:
I'm trying to load an XML document into the DOM using the ActiveXObject I've succeeded in doing this on one machine. Which shouldn't becaus I've checked for the ActiveXObject and it doesn't...
1
by: Tom Vukovich | last post by:
I'm having a problem loading an xmldocument from the web. The xml i wish to bring into the application is generated from a request to an ASP page. The following code does not work. ...
0
by: Nayt Grochowski | last post by:
Does anyone see any problem with the loading a SqlConnection into the System.Web.HttpContextCurrent.Items collection in a Page's Constructor. Then Closing and Disposing of it the OnUnload method? ...
4
by: Kivanc Toker | last post by:
Hi, I've got a problem with displaying texts with turkish characters. There is a website administration system, which is developed using ASP (VBScript) and ADO. This system is being used for...
0
by: UnkleVo | last post by:
Hello all, We have a form that contains browser control on it. Into that control we load some java applet that acts as an image viewer. On the form load we load the list of documents each with...
1
by: =?Utf-8?B?QWRhbQ==?= | last post by:
I'm having a problem loading an Icon into an ImageList. When I load the icon directly it works fine, like this: Icon sourceIcon = << Get an icon from somewhere... >>;...
6
by: jephperro | last post by:
Hi there, I'm having a really tough time with a SQL statement and I am wondering if someone is able to help out or point me in the right direction. I have a table of names which can be very...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.