Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how do i query to get the maximum characters in a field

Posted on 2011-09-30
2
Medium Priority
?
318 Views
Last Modified: 2012-05-12
I  need to know what is the largest number of characters in a field
I know how the field is defined. But I don't know the largest value that is used from all the records in that table

does anyone know how I can query for this info. I know it is easy to find max with number. Is ther a way somehow to do the same for characters
0
Comment
Question by:sikyala
2 Comments
 
LVL 74

Accepted Solution

by:
sdstuber earned 2000 total points
ID: 36893638
select max(length(your_field)) from your_table
0
 

Author Closing Comment

by:sikyala
ID: 36893647
great thanks
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to recover a database from a user managed backup
Suggested Courses

963 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