Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

Sql Server Migration Assistant - Convert CHAR column value not padding

$
0
0

Hi,

I have done Migration form MySql to MS Sql 2005 but having issue with CHAR Columns.

When i check the value on MS Sql table for CHAR(3) column in and it not padding off.

Ex.

Column Data type = CHAR(3)

Value inserting: 'MS' but when i query then it shows as 'MS ', it shows blank space and i know that sql works like that way as it 's not trimming the blank space.

I have few columns like CHAR and I don't need to shows values as blank space.

How can handle this one in SSMA?

I tried to set database level also '

SETANSI_PADDING OFF but it didn't work.

Thanks,


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>