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

x
?
Solved

find values of a certain length

Posted on 2011-02-23
2
Medium Priority
?
400 Views
Last Modified: 2012-06-27
I was wondering if there was a way to do a querry in sql where you only want to show results where a specific column has a character length of 5.

Is it possible?
0
Comment
Question by:gfedz
2 Comments
 
LVL 32

Accepted Solution

by:
Ephraim Wangoya earned 2000 total points
ID: 34964030
select * from table1
where LEN(Fieldname) = 5
0
 
LVL 1

Author Closing Comment

by:gfedz
ID: 34964059
Perfect, thank you for your time!
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

564 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