Discussions
Categories
- 196.8K All Categories
- 2.2K Data
- 239 Big Data Appliance
- 1.9K Data Science
- 450.3K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 544 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.8K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.5K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 439 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
Oracle APEX SQL Command Select Query Returning Error

Hi,
In Oracle APEX 20.2, I have a table called TC_DATABASE. I wanted to see its data and so I did the usual select query, SELECT * FROM TC_DATABASE, but suddenly it displays the error, as shown below,
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
I think this error has something to do with the data. Since these data are just my tests, I just truncated the table, tried to do the select query again on the now empty table but it still returned the same error. I can still insert data into the table though.
What caused this behavior and how to fix this?
Any idea or suggestion is appreciated!
-Jazz
Answers
-
Have you tried the sql in Toad or SQL Developer
-
Not yet, but that is the pending action I am going through setting up our SQL Developer.
Just an addition to the issue,
I get error from SELECT * FROM TC_DATABASE, but no error or successful data query from SELECT column1, column2, column3 FROM TC_DATABASE.
-
I get error from SELECT * FROM TC_DATABASE, but no error or successful data query from SELECT column1, column2, column3 FROM TC_DATABASE.
How many columns are there in the table? What is the potential maximum byte size of a returned row if all of the columns contain data?
-
TC_DATABASE has 751 columns. Not yet sure on the potential maximum byte size when all columns contain data
-
TC_DATABASE has 751 columns.
There is too much data. I don't the exact limits in SQL Commands, but there are limits to the size of the data it can output.
-
But even when the table is empty, no data at all, I still get the error when I run Select query.
Or did you mean too many columns
-
751 columns in one table? You really should go back and re-model you database table.. That is beyond a mess.. Why exactly would you have that many columns in one table?
Thank you!
Tony Miller
White Rock, NM
-
It's my database manager who created 751 columns. I guess that is really the requirement since we are building a calculator with several fields and computations.
-
Just don't query 751 columns, or use count(*)!
Anyways, I would love to see this table...