Quantcast
Channel: MySQL Forums - MySQL Workbench - Database Migration
Viewing all articles
Browse latest Browse all 561

Nvarchar- sql server to Varchar - mysq (2 replies)

$
0
0
I have been trying to use the migration toolkit in mysql workbench V6 to generate a schema from my sql server database. I am finding that for columns defined as nvarchar in sql server the toolkit generates a varchar column of twice the length in mysql even though the corresponding mysql column is utf8.

e.g a sqlserver NVARCHAR(255) is generating a VARCHAR(510) column in mysql. As the mysql column is utf8 this should only have a length of 255 matching the sqlserver column.

Please can you clarify whether my understanding is correct and that the column lengths generated are incorrect or provide an explanation for this?

Thanks

Kevin

Viewing all articles
Browse latest Browse all 561

Trending Articles



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