Question

I'm running a Crystal Report connecting to a SQL Server 2005 database. When I use Standard Report Expert and added my SQL Server table and clicked on 'Browse data', the field length seems to be double what is in the database for strings (nvarchars and varchars). Any idea why?

Was it helpful?

Solution

IIRC a field thats nvarchar(2000) for example will hold 2000 characters but it has 4000 bytes reserved since each char requires 2bytes storage. could this be the problem that you're seeing... SQL lists size in characters and crystal lists size in bytes?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top