Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


PLS-00398: wrong number of columns in UNION, INTERSECT, or
MINUS expression



PLS-00398: wrong number of columns in UNION, INTERSECT, or MINUS expression..

Answer / guest

Cause: The SELECT clauses to the left and right of a UNION,
INTERSECT, or MINUS expression do not select the same number
of columns. For example, the following statement is faulty
because the select lists do not contain the same number of
items: CURSOR my_cur IS SELECT ename FROM emp INTERSECT
SELECT ename, empno FROM emp;

Action: Change the select lists so that they contain the
same number of items.

Please add more information about this Error

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

PLS-00555: default expressions are not allowed for SQL operators

1 Answers  


ORA-32803: value for string cannot be altered

1 Answers  


TNS-00024: INTCTL: Unable to contact Navigator to obtain Connection Manager address

1 Answers  


PLS-00219: label 'string' reference is out of scope

1 Answers  


ORA-30563: outer join operator (+) not allowed in select-list

1 Answers  


QSM-01092: mjv tries to rewrite a semi-join and primary key or rowid missing

1 Answers  


ORA-01059: parse expected before a bind or execute

1 Answers  


TNS-02404: Service string contains no local handlers

1 Answers  


NNO-00122: invalid name, data ignored: entry: string

1 Answers  


QSM-00777: the specified directive string is unsupported at this time

1 Answers  


PLS-00732: Illegal overload of ellipsis in formal parameter list

1 Answers  


ORA-12619: TNS:unable to grant requested service

1 Answers  


Categories