Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Why have my SQL 2008R2 nvarchar fields doubled in size

$
0
0

We have a test version of a customer's database on a test server. MS SQL 2008 R2. Today, when transferring some live data from the customer's database to our test database, I noticed a strange thing. All the varchar fields in the customer's tables were exactly twice the size of the corresponding fields in our test database tables.

I am sure nobody here manually changed the field sizes, and the customer doesn't have those permissions. I don't know how long ago the fields changed size.

e.g. ComputerName(nvarchar(50), not null) in the test database table

      ComputerName(nvarchar(100), not null) in the production database table

Does anybody know what other reason there could be for the change in field size? What should I be looking for?


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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