Copy arabic data from old SQL server database - sql-server

I have existing data in SQL Server 2008 that has Arabic data in varchar column that I need to copy to SQL Server 2014. When I query the data I see text like èíë¢ïëë¢é Is there a solution. Can I do it through C# application.
I have tried INSERT using Arabic Collation on the source, bcp utility to export using codepage 1256.

Related

Spatial Data Migration: from Oracle to SQL Server using SSMA

I'm migrating tables and views from Oracle to SQL Server using SSMA. I have a number of tables that have columns with SDO_GEOMETRY datatype, SQL Server does not work with that.
How could I map SDO_GEOMETRY to SQL Server? If it's not possible, then what should be done using SSMA?
And is it possible to work out this issue without editing anything in the Oracle database (just using SSMA or SQL Server)?
Oracle use an internal specific Oracle format of geo data that is non standard... Convert it to WKB or WKT and it should works.

Can't see data in SQL Server database table

I can't see data in SQL Server database table. The column is of nvarchar(MAX) not null.
It stores json string in string format.
When I run query Select * from table, I can see the data in output window, but can't see when I open table using edit top 200 rows.
You need to update your SQL Server Management Studio (SSMS) to the latest version. This problem occurs if you use SSMS v. SQL 2008 for working with SQL server 2014.

Backup database ignoring collation

I state that I'm new to SQL Server.
With my company we are planning to migrate from SQL Server 2008 to SQL Server 2012 and I have this question.
The application which uses SQL Server 2008 was born as a one language application (Italian in this case) but later has been converted to a multi language application that requires UTF-8 encoded data.
So the DB server has been filled with custom "collation" clause on column, query and procedures to avoid data encoding errors.
Now we have configured a SQL Server 2012 instance with all the right collation since the start and I was wondering in how to migrate data between servers.
How can I tell the dbms to dump the data into UFT-8 and omit all those "collation" clauses?
Sorry for my bad English.

Read XML data into SQL Server database

I have created an Adobe LiveCycle form that collects the form data into an XML file. I would like to read this XML data into a SQL Server 2008 database. The format of the data is a parent table with 2 child tables. What are the options for getting the data into a database.
Your question is nearly identical to Importing data from XML file to SQL database.
You could try the 2008 version of the SQL Server Import/Export Wizard.
If you know how to write code, almost every programming language has a way to talk to a database and SQL server should be supported by all of them.
There are 2 ways read data from xml file For SQL Server 2008
1.Using xquery
2.Using OpenXML
How do you read XML column in SQL Server 2008?
Read XML document stored in SQL Server 2008 R2 with XML datatype
http://blog.sqlauthority.com/2009/02/13/sql-server-simple-example-of-reading-xml-file-using-t-sql/
http://blog.wharton.com.au/2011/05/27/part-2-openxml-what-is-it-and-how-do-i-use-it/

How to promote a SQL Server CE database to SQL Server 2008?

I'm new to SQL Server CE, I'd like to ask if I start out small with a file based SQL Server CE database and in the future I want to move up to the regular SQL Server 2008 database, how and what is the best way to convert what I already have up to SQL Server 2008?
Description
At first, it is a good idea to start with SqlCE and go to Sql Server later.
Looks like you have to write own code to build the tables and populate them with data OR (and this is what i suggest) use a third party tool like primeworks DataPort.
More Information
Primeworks - Data Port Console
Extracting Data from SQL CE SDF file
How can I import data from SQL CE to SQL Server
Generate Script & Export Data From SQL CE (Compact Edition) 3.5

Resources