Skip to Main Content

SQL & PL/SQL

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!

how to Select * ..but Exclude 1 or more columns

690743Jan 8 2010 — edited Jan 8 2010
hello seniors,

my table structure have 4 remarks field of varchar2(500) size.
When ever i give select * from table name..
the result gets wrap into many lines ..like this
select * from EMP;

 _CO      _NO  _DATE    _EMP_CODE  _APPLY_  _E  _EMP_  _EMP_  _E  _E  _EMP_SVC_
------ ---------- ---------- ------------ ---------- ----- -------- -------- ----- ----- -----------
 _INSTAL_AMOUNT  _EMP_ID_CARD  _FINANCE_BY  L L
----------------- --------------- --------------- - -
 _REMARK1
----------------------------------------------------------------------------------------------------
 _REMARK2
----------------------------------------------------------------------------------------------------
 _REMARK3
----------------------------------------------------------------------------------------------------
 _REMARK4
----------------------------------------------------------------------------------------------------
 _REFERENCE_NO      _EMP_ADDRESS
-------------------- -------------------------------------------------------------------------------
 _EMP_EMAIL                   _FLEXI_FIELD1
------------------------------ ------------------------------
Is there a way besides selecting field, field...,to get the ouput by giving SELECT *
but EXCLUDE 1 or more columns.

very troublesome to set the environment variables and oracle10g does not by its own produces a complete line wise
data depending upon the data in each row.

TY.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 5 2010
Added on Jan 8 2010
9 comments
13,006 views