SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSMA to migrate data from oracle to sqlserver


SSMA to migrate data from oracle to sqlserver

Author
Message
nitin.varshneya
nitin.varshneya
SSC Rookie
SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)

Group: General Forum Members
Points: 27 Visits: 28
We migrated data from oracle to sqlserver using SSMA but when we see data of sqlserver on .NET GUI, formatting is different than oracle data display on .NET GUI.

For an example

we are able to see data of oracle on .NET GUI of a spectific column of grid :

Hello

How are you ?

But in sql server all data is displaying in single line like :

Hello How are you ?
We executed below command on sql server but still able to see data in single row :


update table_name set column_name =replace(column_name,'',char(13)+char(10))

Can you please provide us solution as soon as possible ?
Lowell
Lowell
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27990 Visits: 39923
in the SSMS grid, in order to force visibility of the data , for display purposes only,Carriage Returns and Line Feeds are turned into spaces; however the data truly still contains the original CrLf;
if you click Control+T (test mode) and rerun your query, you'll see the formatting.

SSMS is a utility,and not a real reporting tool;
the data exported to raw text, like delimited CV, would have your formatting; excel might show the CrLf, or it might hid eit as well; excel likes to format data it thinks it recognizes.

Lowell

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

nitin.varshneya
nitin.varshneya
SSC Rookie
SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)

Group: General Forum Members
Points: 27 Visits: 28
we are not displaying data into SSMS grid.we are displaying data into .net gridview.

I had already checked , it is not an application issue.

we are using collation as Latin1_General_Bin in sqlserver. Is it the cause ?

When we run query of oracle in sql developer and paste the output of specific column in notepad++, it shows the LF character but

same out put of sqlserver does not show LF character in notepad++.

Still I am not able to find out the root cause why LF character is not shown in sqlserver, we migrated the data using SSMA from oracle to sqlserver .

Will we have to do some setting change in SSMA while migrating data of varchar column ?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search