Unix Technical Forum

select without column names, whitespaces

This is a discussion on select without column names, whitespaces within the Oracle Miscellaneous forums, part of the Oracle Database category; --> Newbie here. How do I select without column names? How do I remove any white spaces from select output? ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-07-2008, 10:47 PM
jason@cyberpine.com
 
Posts: n/a
Default select without column names, whitespaces

Newbie here.

How do I select without column names?
How do I remove any white spaces from select output?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-07-2008, 10:47 PM
Frank van Bortel
 
Posts: n/a
Default Re: select without column names, whitespaces

jason@cyberpine.com wrote:

> Newbie here.
>
> How do I select without column names?
> How do I remove any white spaces from select output?
>
> Thanks.


What tool(s)?
SQL*Plus would need set head[ings] off.
Look up trim and concatenation (|)
--

Regards,
Frank van Bortel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-07-2008, 10:47 PM
Mark D Powell
 
Posts: n/a
Default Re: select without column names, whitespaces

jason@cyberpine.com wrote in message news:<ef0a04d7.0411091117.1d59e144@posting.google. com>...
> Newbie here.
>
> How do I select without column names?
> How do I remove any white spaces from select output?
>
> Thanks.


Select * will select all column names in the table

If by "without column names" you mean supressing the headings in
SQLPlus then see the SET command in the SQLPlus Users Guide and
Reference for set heading off and/or set pagesize 0.

To remove or change the column separator see the SET command again.
There is a parameter for the column separator. I think it is called
colsep.

If you are going to work in Oracle then there is no excuse for not
reading the SQLPlus Users Guide and Reference; it is full of useful
features.

HTH -- Mark D Powell --
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-07-2008, 10:49 PM
DA Morgan
 
Posts: n/a
Default Re: select without column names, whitespaces

jason@cyberpine.com wrote:

> Newbie here.
>
> How do I select without column names?
> How do I remove any white spaces from select output?
>
> Thanks.


If you are in a class ... do your homework.

If you have a job go to http://tahiti.oracle.com and look it up.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:08 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com