Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Ntext replication - Max size exceeded
Hi,
I am facing one wierd problem.

I have one table having column as Ntext, from front end we are inserting
50000 characters.Replication is enabled , when we are inserting 50K
characters we are getting error

"Length of text, ntext, or image data (100000) to be replicated exceeds
configured maximum 65536.The statement has been terminated"

Is it because column is ntext and internally sql server treat this as double
byte character and try to insert 100000 characters. replication by default
supports 65536 characters...
i am bit confused on this sql behavior/


--
Sanjay

Report this thread to moderator Post Follow-up to this message
Old Post
Sanjay
03-01-06 01:23 AM


Re: Ntext replication - Max size exceeded
The 'max text repl size' specifies the max size *in bytes* so you need to
double the number of characters for ntext to calculate the number of bytes.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Sanjay" <Sanjay@discussions.microsoft.com> wrote in message
news:BC35046F-BC44-4C02-8BBF- 6533BF5897AA@microso
ft.com...
> Hi,
> I am facing one wierd problem.
>
> I have one table having column as Ntext, from front end we are inserting
> 50000 characters.Replication is enabled , when we are inserting 50K
> characters we are getting error
>
> "Length of text, ntext, or image data (100000) to be replicated exceeds
> configured maximum 65536.The statement has been terminated"
>
> Is it because column is ntext and internally sql server treat this as
> double
> byte character and try to insert 100000 characters. replication by default
> supports 65536 characters...
> i am bit confused on this sql behavior/
>
>
> --
> Sanjay



Report this thread to moderator Post Follow-up to this message
Old Post
Dan Guzman
03-01-06 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 10:02 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006