문제

I have a database with a lot of varchar columns. My datalayer, which is entity framework, interfaces with it.

If I were to change all the column types from varchar to nvarchar, would it be safe?

Would I have to change any of my C# code from data layer all the way to presentation?

도움이 되었습니까?

해결책

No, NVARCHAR takes up twice as much space as VARCHAR, so going the other way might cause you to lose data, but going this direction should be fine.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top