Exporting non-english data to excel

13 views
Skip to first unread message

Totti

unread,
Apr 2, 2011, 2:15:58 PM4/2/11
to SQL Server
Hi everyone,
i am using sql 2008 to deal with my database, i have tables that need
to be exported to excel in order to do some graphs and calculations
on.
if it were english, i wouldnt have had a problem but as i am in KSA i
have tables that have arabic inside.
i googled infinite time for a solution but didnt find any, and that is
a pain for last 10 days. nothing online i havent tried and no clue how
to deal with this problem.
i am putting as many info as i can and think might be useful so anyone
willing to help could.

this is how the table is (here it wouldnt show well but maybe on axcel
if you d paste it)

=========================================================================
NAME_A DESC_A B2B EDITTED احوال مدنية فئة أ احوال مدنية فئة ب احوال
مدنية فئة د الادارة العامة للمرور
Under Vehicle Surveilance System نظام كاشف على المتفجرات لزوم
مداخل السيارات طبقا للمواصفات مستلزمات الموقع الارفف 02-4780 NULL
NULL NULL NULL
Under Vehicle Surveilance System نظام كاشف على المتفجرات لزوم
مداخل السيارات طبقا للمواصفات Automatic Rising Barriers With Folder
Skirts With Boom Length 9000 mm standard colour is white with red
chevron for the cabinet red white boom sump pump : A self- priming
sump pump shall be supplied to drain water collected in the road
blocker Foundatio 02-3228 NULL NULL NULL NULL
Under Vehicle Surveilance System نظام كاشف على المتفجرات لزوم
مداخل السيارات طبقا للمواصفات أعمدة أعلام (صواري) من الحديد المجلفن
ولها كرة بقطر 150مم وحبال وبكرة ، شاملاً أعمال الحفر والردم وأساس من
الخرسانة المسلحة ، مواد التشطيب ، السقية ، مواد التثبيت ، وما شابه ذلك
حسب التفصيلة بالملحق رقم 1 02-4700 NULL NULL NULL NULL
Under Vehicle Surveilance System نظام كاشف على المتفجرات لزوم
مداخل السيارات طبقا للمواصفات كاشف على المتفجرات لزوم مدخل ا للسيارات
يعمل SCANEER طبقا للمواصفات ويتم التحكم به عن طريق النظام الامني ضمن
بوابة للحراسة وعلى المقاول تحميل بند الانظمة الكهربائية من تشغيل
وتوريد وتركيب على الكاشف ضمن التسعير 02-0862 NULL NULL NULL NULL
Under Vehicle Surveilance System نظام كاشف على المتفجرات لزوم
مداخل السيارات طبقا للمواصفات كشك خرسانة سابقة الصب تشطيب سفلى خشن
للحوائط الخارجية 75 مم ارتفاع و تشطيب علوى أملس بما فى ذلك القاعدة و
السطح و ماسورة الصرف و التثبيت و التشطيب و الكل حسب التفصيلة D2
المخطط GL32 02-2351 NULL NULL NULL NULL
G (1) مرجع . أعمال الزراعة تنسيق الموقع الأشجار, شاملة الزارعة,
الحفر ، ، خلطة التربة الزراعية ، مهاد ، غشاء الترشيح و طبقة التصريف
كما هوموضح في التفصيلة P3 , المخطط GL41 02-1176 NULL NULL NULL NULL
G (11) مرجع . أعمال الزراعة تنسيق الموقع الأشجار, شاملة الزارعة,
الحفر ، ، خلطة التربة الزراعية ، مهاد ، غشاء الترشيح و طبقة التصريف
كما هوموضح في التفصيلة P3 , المخطط GL41 02-1185 NULL NULL NULL NULL
G (12) مرجع . أعمال الزراعة تنسيق الموقع الأشجار, شاملة الزارعة,
الحفر ، ، خلطة التربة الزراعية ، مهاد ، غشاء الترشيح و طبقة التصريف
كما هوموضح في التفصيلة P3 , المخطط GL41 02-1186 NULL NULL NULL NULL
G (2) مرجع . أعمال الزراعة تنسيق الموقع الأشجار, شاملة الزارعة,
الحفر ، ، خلطة التربة الزراعية ، مهاد ، غشاء الترشيح و طبقة التصريف
كما هوموضح في التفصيلة P3 , المخطط GL41 02-1177 NULL NULL NULL NULL

we have arabic and we have more than 255 character in some fields,
name, desc, b2b and editted are text fields, every thing else is
float.
i try the exporting mechanism of sql but i dont succeed, not at all, i
am using 2007 msexcel i tried changing the text to nchar, nvarchar,
varchar max .... but never did it. could anyone please help me? its is
really very crucial i get this job done the soones possible

Greg Grater

unread,
Apr 19, 2011, 12:03:22 PM4/19/11
to sql-s...@googlegroups.com
You should try to investigate the actual export process. More than likely,
you are using the default export process out of management studio which uses
SSIS as its backend processor. Go through the wizard and at the end, save
the workflow. Open the workflow in Integration Services and look at the
mapping in the actual export task. It is likely using CHAR instead of
WCHAR (Wide Character). Switch it to use WCHAR and re-run the saved
workflow.

HTH,

Greg Grater
--
You received this message because you are subscribed to the Google Groups
"SQL Server" group.
To post to this group, send email to sql-s...@googlegroups.com.
To unsubscribe from this group, send email to
sql-server+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sql-server?hl=en.

Reply all
Reply to author
Forward
0 new messages