Home » Developer & Programmer » Forms » Problem with SELECT UNION.
Problem with SELECT UNION. [message #78104] Fri, 18 January 2002 00:42 Go to next message
Messages: 1
Registered: January 2002
Junior Member
Hi , I need a solution for this problem

Select A from Table1
Select B from Table2
Where A and B are Number(2) , but
Oracle returns a Number(3
i need return a number(2) ?

Re: Problem with SELECT UNION. [message #78109 is a reply to message #78104] Fri, 18 January 2002 04:30 Go to previous message
Messages: 59
Registered: November 2001
I don't know what you are trying to do but

for eg:
emp table has deptno number(2);
dept table has deptno number(2);

when I create a view like the following and describe it the deptno field of the view is number(2).

create view temp
as (select deptno
from emp
select deptno
from dept);

desc temp;
Previous Topic: Re: free material for oracle 8i
Next Topic: Disable first field in form
Goto Forum:

Current Time: Fri Aug 14 09:54:17 CDT 2020