| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.oracle -> SELECT DISTINCT causes ORA-03113 only on SQLPlus
When I remove the distinct from the first line (capitalized below) it runs fine on SQLPlus.
Is there some flag I need to set in SQLPlus to get this to work properly?
create table scott.t_xr_cust_order
(cust_id number(10,0) NOT NULL,
,order_id number(10,0) NOT NULL
);
Primary key is cust_id, order_id.
Foreign key constraint exists on the cust_id column and tr_xr_cust.cust_id.
SQL*Plus: Release 9.2.0.1.0 - Production
Personal Oracle9i Release 9.2.0.1.0 - Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.1.0 - Production Received on Thu May 06 2004 - 21:46:07 CDT
![]() |
![]() |