Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I determine the length of a column?

7548Jan 21 2002
Does anyone know how to determine the length of an Oracle column through sql statements? I know in SQL Server you can use the COL_LENGTH function to find the maximum length for a particular column, but I haven't been able to find an equivalent for Oracle.
We have a column in a database that is a VARCHAR2 and can be any szie from 64 to 255 characters. I need to determine on the fly from a running client application what size the column is in the current database.
Thank you very much for any help you can give me.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 18 2002
Added on Jan 21 2002
3 comments
1,620 views