Solved

Sql Server 2012 table wont accept certain letters

Posted on 2014-02-25
5
121 Views
Last Modified: 2014-03-08
I have a table in Sql Server 2012.  One of the fields in the table is a varchar(50)
This table has about 25,000 records in it and works just fine. Except that the field will not allow the letters SK to be the first two letters in the field. Anything else works fine, but when a word starting with "Sk" is entered, it times out and will not allow the data to be saved.
Any ideas?
0
Comment
Question by:LearningToProgram
[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
5 Comments
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
ID: 39887737
It may appear that way but I'm certain that isn't all there is to it because Sql Server just doesn't work that way.  Do you have any stored procedures working on the data?  Any filtering being done to it first?
0
 
LVL 92

Assisted Solution

by:Patrick Matthews
Patrick Matthews earned 250 total points
ID: 39887766
Or adding to Dave's comments, are you sure there aren't any constraints?
0
 
LVL 49

Expert Comment

by:PortletPaul
ID: 39888051
What is the relevance of Excel to this question?

What is timing out exactly? (Excel?, a web form?)
0
 

Accepted Solution

by:
LearningToProgram earned 0 total points
ID: 39901877
There were no constraints, stored procedures or filters. I created a new table and moved the data over and that fixed it.
0
 

Author Closing Comment

by:LearningToProgram
ID: 39914435
There were no constraints, stored procedures or filters. I created a new table and moved the data over and that fixed it.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

623 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