Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using union between long and varchar2

Status
Not open for further replies.

ociruj

Programmer
Nov 8, 2002
22
PH
i have 3 select statements using union.

lets say

select ord_no1, description1, amount1
from table1
union
select ord_no2, description2, amount2
from table2
union
select ord_no3, description3, amount3
from table3


wherein DESRICRIPTION1 has long datatype
while DESRIPTION2 and DESCRIPTION3 has varchar2 datatype...

how can i use description1 with union?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top