Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

SQL Server: best data type for long question

Hi

In SQL Server 2008, which data type would be best for a field that holds
up to 1000 text characters?

Thanks
0
Murray Brown
Asked:
Murray Brown
3 Solutions
 
Pratima PharandeCommented:
nvarchar2(MAx)

Or
give size as per you requiremt

nvarchar2(1000)
0
 
Raja Jegan RSQL Server DBA & ArchitectCommented:
If your question will contain only English characters, then choose VARCHAR(1000) else choose NVARCHAR(1000).
0
 
Lee SavidgeCommented:
nvarchar(1000)
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
thanks very much
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now