DTS (international Question)

Dec 20, 2004

Quick background....
I have a file that is currently in Bulgarian (not unicode) that we want to import into a development environment for testing. However, the only way I can view the file as "non-gibberish" is for me to switch my local settings (on the OS) to Bulgarian. Then of course the file is readable in Bulgarian.

Now they have sent the following snipet of code asking if I can somehow add this to the DTS package? The purpose of this code is to...

They're sending me a C# routine to transpose the 10 or so Bulgarian-specific characters in the text fields.

They hope we can include this routine in the DTS package.

Here is the code....

private string StrFix( string InStr )
{
string Result = InStr;
Result = Result.Replace( 'x2591', 'ð' );
Result = Result.Replace( 'x2592', 'ñ' );
Result = Result.Replace( 'x2593', 'ò' );
Result = Result.Replace( 'x2502', 'ó' );
Result = Result.Replace( 'x2524', 'ô' );
Result = Result.Replace( 'x2561', 'õ' );
Result = Result.Replace( 'x2562', 'ö' );
Result = Result.Replace( 'x2556', '÷' );
Result = Result.Replace( 'x2555', 'ø' );
Result = Result.Replace( 'x2563', 'ù' );
Result = Result.Replace( 'x2551', 'ú' );
Result = Result.Replace( 'x255d', 'ü' );
Result = Result.Replace( 'x255b', 'þ' );
Result = Result.Replace( 'x2510', 'ÿ' );
Result = Result.Replace( 'x2552', '¹' );
return Result;
}


My questions... (as I'm not familiar with C#)

1. Do you guys see anything I'm not?
2. Is it possible to add this code to DTS package and have it change the 10 characters?
3. Wouldn't this be easier if their sample was in unicode?

Thanks in advance

View 1 Replies


ADVERTISEMENT

International Characters

Jun 8, 2006

Could SQL Server Express store international characters, such as Tradtional Chinese? Please give the instructions in greater details.

View 1 Replies View Related

Date Parameters - International

Jan 4, 2007

hi all

We are a multi site / multi language company so do not want to hardcode the date format - these reports will be on intranet

Using MS Sql - Reporting Services 2005

RecvdDate field = yyyy-mm-dd - is how it is displayed.

I added a @startdate and an @enddate parameter and am using the
calendar - so a user picks off the calendar

I read up and saw this information:

Report properties set

'Language' setting to '=User!Language' to detect user
culture automatically

My regional settings are set to English (New Zealand)

but whatever I do I receive no data - (data is definately there eg when run without parameters) so it is obviously the parameter that is incorrect.

Can someone give me some advice on what else to check.

thanks

View 2 Replies View Related

International Databases And Cleanliness

Nov 12, 2007

Hello!

This is a new problem to me being a junior, and I'm quite sure this is a problem that will occur for more and more people as time goes on.

My company has offices from around the world, and naturally there are databases all over the place. We have a main one which the sites run off here in the UK, otherwise we use SAP (like so many others) and Viper. There are also apparently Marketing databases which I have never even seen...

There is a nightly import into the main databases, but its choking fairly regularly and the data we are getting out is outright filthy.

Anyway, the boss wants a "data firewall" with a rules engine sitting on top controlling what is clean and what is not. Sounds great, but I don't really know where to start. Does anyone have any advice on a design for this? We are currently using SQL Server 2000 but should be moving to 2005 very shortly (not 2008 it seems :-( ).

Is this something I can develop in a .net language or can it be done purely on a SQL Server basis? Keep in mind the rules engine which should have a useable interface for a techie who is not heavily trained in SQL Server (like a .net developer).

Apologies for the long post and thank you very much for any inspiring (or not) ideas. :-)

Timmy

View 2 Replies View Related

International Motivation Survey

Jul 23, 2005

Dear Madam/Sir,You are invited to participate in an international research study. Thisresearch project is headed and led by Cambridge student Nico Baumgarten.What is it all about?It is a well-known fact that there exist many differences between cultures.However, how these differences effect motivation if there are effects atall is not yet clear. This survey is set out to change this. With yourhelp, it will be possible to achieve this.Therefore, we kindly ask you to spare only 10 minutes of your time andvisit the survey home page.Go to the survey http://crosscultural.research.yi.orgor if this does not work the direct link http://82.4.146.32Who participates?All over the world, people are chosen to participate in the survey.Although the survey is completely anonymous, each person is arepresentative of his/her country. Hence, it does not matter, which job aperson has, whether he/she is male or female, old or young. The more peoplechoose to participate the more accurate this survey is going to representand show cultural influences as well as similarities.So if you want to tell your friends about this survey - Please Do So! Justforward this email to your friends or use the feature on the survey homepage.What is in it for you?With your help your country will be represented in the survey.Of course, you can opt-in to receive the results of the study at the end ofthe survey.Any information you provide will be kept strictly confidential andanonymous.Thanking you in advance for you support I remain withKind regardsNico Baumgartenhttp://crosscultural.research.yi.orghttp://82.4.146.32

View 1 Replies View Related

International Settings For SQL 2000

Feb 26, 2006

I will doing an installation of MS SQL 2000 that will be used by multilanguage web sites.The languages are Japanese, German and of course English.Currently I'm planning to install MS SQL 2000 standard version butafter reading some articles I'm considering the Enterprise version.Can someone shed some light on the advantages of using Enterprise vsStandard strictly from a language support perspective?Also, is there any caveats or other considerations that I should keepin mind to make sure that the developers have all they need to developthese multi language sites?Thanks in advance.

View 1 Replies View Related

Which Collation For International Database ?

Jan 29, 2007

Hi,

I have to create a database (SQL2005) for multinational usage (Western, Eastern and asian langages included).

This database will be used by an international application.

Here are my questions :

* All the "wording" of the application will come from NVARCHAR database fields.
However, for database fields which will not store any possibilities of special characters (and will not be shown on the application), should I also use NVARCHAR fields ?

(Then, the database will mix unicode and non unicode strings)

* The database must be replicated (transactional or Merge) with an "old" non international database on SQL 2000.
Schemas are near the same, only datatype are different (varchar --> nvarchar).
Then, should I use a SQL collation instead of Windows Collation as advised on MSDN ?
http://msdn2.microsoft.com/en-us/library/ms175194.aspx

(MS tells to use Windows collation if the database has unicode and and non-unicode strings, but It also tells to use SQL collation to maintain compatibility with earlier versions of SQL)

Thanks,

J62





View 1 Replies View Related

International Data Not Being Returned Correctly ???

Jan 24, 2004

HI all.

I have a web service that does an SQL select against a database that contains international data, however when this is displayed from the web service the text such as "Rue Emile Féron 168" is not shown correctly and the 'é' is shown as a comma. Can someone advise what changes I need to make to the coding. Also our own tables have varchar fields and I'm assuming the "é" data will be saved correctly ???

Thanks

View 4 Replies View Related

Datetime Condition In 'where' - International Problem

Jul 20, 2005

I use datetime condition in sql-query. For example:select something from sometablewhere date between '06/15/04 00:00:00' and '06/15/04 23:59:59'and result on two synchronized servers is different.In USA server result contains where date equal '06/14/04' only,but Russian server gives where date equal '06/15/04'.I read mysql online book article 'Writing International Transact-SQL Statements'and not found any recommendations how solve this problem.Thanks for any help.

View 2 Replies View Related

About Building International Applications In Dotnet

Apr 24, 2007



Hi,



I am developing an application using C#.NET that accesses a remote database that that contains japanese characters.



My sample querry is strCommand = "SELECT * FROM table WHERE prodname = 'CR新海物語スペシャルM8'";



The result of querry displayed in the binded datagrid also contains other rows that has this prodname:

CRF湯�むり紀行SF�T
CR��ん��イサイVR1
CRホワイトエンジェルFS

etc.



Thanks in advance for your help.

View 4 Replies View Related

Transact SQL :: How To Query International Characters

Aug 14, 2015

i've worked with SQL Databases for years now, but never needed to deal with international characters.  I am trying to search strings like surname in a column that might have international letters/characters, such as:

select * from [dbo].[User] where LastName like '%HekimoÄŸlu%'

It doesn't retrieves anything.  I've googled for while in a hope to find some solution quickly, but to my surprise I couldn't. how to query string columns that include international characters such as above.I am using SQL Server 2012, Nvarchar(100) for column.

View 5 Replies View Related

Easy Way To Remove International Alphabet From All Rows?

Jul 23, 2005

Is there an easy way to loop through all rows and remove allinternational alphabet characters from a column in a table, for exampleremove German umlauts "ü" and convert them to a simple "u".Thanks,lq

View 12 Replies View Related

Escaping International (unicode) Characters In String

May 29, 2007

Y'all:I am needing some way, in the SQL Server dialect of SQL, to escape unicodecode points that are embedded within an nvarchar string in a SQL script,e.g. in Java I can do:String str = "This is au1245 test.";in Oracle's SQL dialect, it appears that I can accomplish the same thing:INSERT INTO TEST_TABLE (TEST_COLUMN) VALUES ('This is a1245 test.");I've googled and researched through the MSDN, and haven't discovered asimilar construct in SQL Server. I am already aware of the UNISTR()function, and the NCHAR() function, but those aren't going to work well ifthere are more than a few international characters embedded within astring.Does anyone have a better suggestion?Thanks muchly!GRB-----------------------------------------------------------------------Greg R. Broderick Join Bytes!A. Top posters.Q. What is the most annoying thing on Usenet?---------------------------------------------------------------------

View 3 Replies View Related

International - Multiple Language Database Design.

Mar 11, 2008



Could anyone provide me an example of the effective way of design a database support multiple languages. Currently I working to design a database for travel website which support 3 different languages, and more languages will be added in in the future. One of my friend advice me to put different languages into the same table for example
Table Hotel
ID
Description_EN
Description_ES
Description_FR
Location_EN
Location_ES
Location_FR
....
But I don't thing it's a good idea to do so since in the future if I would like to add more languages I have to modify the table and I have to replace all of the sql statements. I am seeking for the best solution , could anyone help.
Thank you very much

View 17 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved