Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

store more than 4000  charecters  in a single column in sql server 2008 r2  ??

Posted on 2014-01-18
4
449 Views
Last Modified: 2014-01-19
Hello expert,
how to store more than 4000  charecters  in a single column in sql server 2008 r2??


Thanks
Thomos
0
Comment
Question by:deve_thomos
4 Comments
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
ID: 39791123
set its type to varchar(max)
0
 
LVL 38

Accepted Solution

by:
Jim P. earned 250 total points
ID: 39791290
Well if you want to go to 8000 then change it from nvarchar(4000) to varchar(8000). Or go to varchar(max) as Eric suggested.
0
 

Author Closing Comment

by:deve_thomos
ID: 39791985
Thanks a lot...
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Check ALL SP in database make sure there are no errors 17 43
Row insertion failed. Array 5 45
SQL Dump exec output to table 3 21
query optimization 6 13
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question