Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 insert data more than 4000 in nvarchar type

Author  Topic 

ledothu
Starting Member

2 Posts

Posted - 2004-12-07 : 04:24:19
Please help me!!
How can I insert a text that greater than 4000 characters in nvarchar type.
Thanks.

nr
SQLTeam MVY

12543 Posts

Posted - 2004-12-07 : 04:26:21
You can't that's the limit.
Either use multiple fields or an ntext.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2004-12-07 : 04:27:14
use ntext for longer characters

--------------------
keeping it simple...
Go to Top of Page

rockmoose
SQL Natt Alfen

3279 Posts

Posted - 2004-12-07 : 15:35:44
Or if you don't need the unicode, you can use varchar(8000)

rockmoose
Go to Top of Page
   

- Advertisement -