Solved

Character limits in data fields

Posted on 2006-11-07
4
571 Views
Last Modified: 2008-01-09
Hello,
A simple question I hope but usually the simple ones stump me as this one has....

I have MS SQL 2000
I create a table.
I create a field on the table.
Set it as type varchar.
Set the legnth to 8000

I try to type in that field and it only lets me type 1023 characters.
I have tried several other types as well and they are all the same... even tho the max is set to 8000 or 4000 depending on the data type.

Anyone know why it will only let me input 1023 characters in a field that is susposed to hold 8000?


Thanks,
Hudsonbeck
0
Comment
Question by:hudsonbeck
[X]
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
4 Comments
 
LVL 29

Accepted Solution

by:
Nightman earned 55 total points
ID: 17893180
This appears to be a limitation of the UI in Enterprise Manager. You would still be able to insert more data programatically (i.e. with Query Analyser, or from client code)
0
 
LVL 9

Expert Comment

by:gpompe
ID: 17893238
I do not if this is your case, but sometimes EM adds extra spaces trailing the field value. This happens specially when you edit a previous value.

Try positioning the cursor at the end of your value and press Shit+End to check if this is what is going on.
0
 
LVL 4

Assisted Solution

by:satish_nagdev
satish_nagdev earned 50 total points
ID: 17895602
hi,
this problem is related to UI for Queryanalyzer. in tools menu go to options you'll see multiple tabbed dialog in that goto results tab in that you'll see maximum characters per column text box in that enter 8000 then try to run the query.

i think this should be helpful.

regards,
satish.
0
 

Author Comment

by:hudsonbeck
ID: 17898657
Thanks for the replys!
It does appear to be a UI issue in EM. I did what you suggested and found that I could post more characters via ASP or Access link. I then changed the option in Query Analyzer  and  and was able to 'see' that it was there...

Split
Nightman for the reason
Satish for another option to view it.

Thanks Guys

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

749 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