Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using VarChar

Status
Not open for further replies.

jamz

Technical User
Sep 25, 2002
3
AU
Hello, I am using SQL Server 2000 and I am trying to combine 2 columns that are defined as varchar(255) to 1 column defined as varchar(7000). I know SQL Server 2000 allows you to have a varchar defined at 7000 but when I run my query it cuts off the new column at 256 characters. Is there a setting within SQL Server 2000 that I am missing?
 
I've only used SQL 7, but what are you viewing the new field with? If it's query analyser you'll have to change the max length per field shown. codestorm
 
Thanks! Codestorm, that was it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top