Skip to Main Content

Oracle Forms

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!

Getting ORA-06502 using WEBUTIL_FILE_TRANSFER.CLIENT_TO_AS_WITH_PROGRESS

Juan HernandezJul 8 2022

Im getting numeric or value error trying to upload files to server from client using standalone application.
webtutil_error.pngA file is created in server with zero size.
webtutil_error2.pngWebutil.cfg
webtutil_error3.pngFormsweb.cfg
webtutil_error4.pngwebtutil_error5.png
Any idea/suggestion on what could be the issue, will be appreciated.
Thanks

Comments

SomeoneElse

Analytics are good for things like this:

SQL> select name
  2        ,col1
  3  from
  4  (
  5     select name
  6           ,col1
  7           ,dense_rank() over (partition by name order by case col1
  8                                                               when 'Best' then 1
  9                                                               when 'Good' then 2
 10                                                               when 'Bad'  then 3
 11                                                               else 0
 12                                                          end) dr
 13     from   t
 14  )
 15  where dr = 1
 16  ;

N COL1
- ----------
A Best
B Good
C Bad
D Best

Message was edited by: SomeoneElse

(forgot the ELSE)

ngilbert
Awed and grateful. Thank you very much!
Vadim Tropashko-Oracle
select name, Best(col1) from tbl
group by name

Ok, no joking:

select name, reverse(max(reverse(col1))) from tbl
group by name
572471
select name, max(col1) keep (dense_rank first order by decode(lower(col1),'best',1,'good',2,'bad',3,4)) 
from <table> 
group by name
Aketi Jyuuzou
create table PointTable(Name,Col1) as
select 'A','Bad'   from dual union all
select 'A','Good'  from dual union all
select 'A','Best'  from dual union all
select 'B','Good'  from dual union all
select 'C','Bad'   from dual union all
select 'D','Bad'   from dual union all
select 'D','Best'  from dual union all
select 'E','Best'  from dual union all
select 'E','worst' from dual union all
select 'F','Bad'   from dual union all
select 'F','worst' from dual;
select Name,Col1
from (select Name,Col1,
      rank() over(partition by Name
                  order by case Col1
                           when 'Best'  then 1
                           when 'Good'  then 2
                           when 'Bad'   then 3
                           when 'worst' then 4 end) as Rn
      from PointTable)
where Rn = 1
order by Name;

or

select distinct Name,
First_Value(Col1)
over(partition by Name
order by case Col1
         when 'Best'  then 1
         when 'Good'  then 2
         when 'Bad'   then 3
         when 'worst' then 4 end) as Col1
      from PointTable
order by Name;
Name  COL1
----  -----
A     Best
B     Good
C     Bad
D     Best
E     Best
F     Bad
450441
select name, reverse(max(reverse(col1))) from tbl
group by name
Well spotted.
1 - 6

Post Details

Added on Jul 8 2022
6 comments
855 views