Question

Why no column headings from successful sql commands ?

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. alter command in SQL
    hi there I have create a table with two columns initially and inserted some values in tat.. later i added one column. .. i dunno how insert values in the column... can anyone please help me.. SQL> select * from new; ID NAME TOTAL ---------- -------------------- -------…
  2. 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
  3. Help with SQL Column Arrangement
    I need help. I need these columns to show from left to right. For some reason, they show on top of each other. SQL+ STUDENT_LAST_NAME STUDENT_FIRST_NAME COURSE_ID ------------------------------ ------------------------------ --- COURSE_NAME …
  4. 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 …
  5. Trying to use IF-THEN-ELSE in sql Oracle10g
    I'm trying to use an IF-THEN-ELSE function in SQL and can't seem to get rid of the error Error at Command Line:2 Column:5 Error report: SQL Error: ORA-00933: SQL command not properly ended 00933. 00000 - "SQL command not properly ended" *Cause: *Action:

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

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

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

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:

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

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

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

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

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