Question

Asked on 2005-09-15 at 09:21:54ID: 25470649

Why no column headings from successful sql commands ?

by: blf2vkr50

Rating8.8Very Good

Hi:

I am executing an SQL command, and some how I am getting an output with out any column heading. Please see the following where I described the table and then the sql command. What is wrong in it? How to run clean where I can get the data as well as column heading. Please reply. (The command and output are at the end of my message, I am using Window XP).


Thanks

MR



SQL> desc tina.date_log;
 Name                                                  Null?    Type
 ----------------------------------------------------- -------- --------------------------
 CREATE_DATE                                           NOT NULL DATE

SQL> select * from tina.date_log;
13-SEP-05
13-SEP-05
22-DEC-05
01-APR-06
10-JUL-06
27-AUG-16
24-MAY-19
17-FEB-22
13-NOV-24
06-MAY-30
25-SEP-05
18-SEP-08
06-APR-09
23-OCT-09
11-MAY-10
27-NOV-10
15-JUN-11
SQL>

  1. Column Heading in SQLLDR .csv file
    Hi Experts, Has anyone know that how to display the column heading for this .CSV file? I created the below script, but column heading for some reason it is not displaying. Is this because of my "off" statement or anything else.? Please help. All I need is to create the column heading at top of the .CSV file. Thanks --Victor
  2. Testing for "to_timestamp" success
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production PL/SQL Release 11.1.0.7.0 - Production "CORE 11.1.0.7.0 Production" TNS for IBM/AIX RISC System/6000: Version 11.1.0.7.0 - Production NLSRTL Version 11.1.0.7.0 - Production …
  3. Multiple values from same column
    I have a query where I need to pull mutiple values from the same column into a report row So, it would be possible that two or three of the fields i the row would be coming from the same column in the table. I am thinking maybe aliasing but I am not sure how to go about it in sql plus. Thanks in advance
  4. Dynamic SQL -- Move Indexes from one Tables…
    Hi Experts: The command below shows the expected result. SELECT ' ALTER INDEX ' || owner || '.'||INDEX_NAME ||' rebuild tablespace MOM_INDEX01;' FROM DBA_indexes WHERE index_name in ( select segment_name from dba_segments where tablespace_name='MOM_DATA01');…
  5. why can't I use a function in pl * sql ?
    I wrote a small function inside a larger function, it compiles fine. But then when I call the smaller function, I get "function [myFunction] may not be used in Sql". it looks normal to me . . .

Solution

Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

About this Solution
View This Solution - Start Your 30 Day Free Trial
Zone
General
Tags
column heading sql
Participating Experts
6
Solution Grade
A

Replies

 by: slightwv

Posted on 2005-09-15 at 09:28:12ID: 28300685

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: DrSQL

Posted on 2005-09-15 at 09:44:17ID: 28300686

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: ram_0218

Posted on 2005-09-15 at 10:18:58ID: 28300687

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by:

Posted on 2005-09-15 at 10:33:33ID: 28300688

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: ram_0218

Posted on 2005-09-15 at 10:39:40ID: 28300689

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: markgeer

Posted on 2005-09-15 at 12:50:51ID: 28300690

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: RCorfman

Posted on 2006-02-24 at 21:09:02ID: 28300691

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: DarthMod

Posted on 2006-02-28 at 03:48:01ID: 28300692

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Stay Connected

Oracle Around the Web

The latest Oracle news, tips, and tricks

Oracle Unveils Netra SPARC T3 Servers

New Carrier-Grade Blade and Rackmount Servers Deliver Better Performance, Density and Power Efficiency for the Communications Industry ...

read more

Oracle fixes 21 flaws in Java SE, Java for Business

Oracle is fixing 21 flaws in its Java SE and Java for Business products in its February critical patch update issued this week ...

read more

Obama’s Silicon Valley “Tech Supper”

Why was he there? Who wasn’t invited and why? What did they talk about? Why was he really there? These are the questions being debated ...

read more

Featured Oracle Experts

slightwv

slightwv has answered more than 2,000 Oracle questions and oversees database management within the U.S. Government. Slightwv

sdstuber

A regular presenter at the Collaborate conference, Oracle developer sdstuber is a top expert in PL/SQL and Oracle 9, 10 and 11. sdstuber

Testimonials

What users are saying about our experts

"The Oracle gurus provide answers, solutions and valuable workarounds"

User: schwertner

"Wow! Excellent, valuable explanation. Hats off to you"

User: aseshu70

"Solution worked fantastic and performs excellent! Thanks heaps"

User: klausbrandlhuber

Top Experts

  1. slightwv

    2,000

    0 points yesterday

    Profile

BrowseBecome an Expert