Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Columns not matching up with data set

Status
Not open for further replies.

johnnyx25

Programmer
Jun 12, 2003
2
US

We just upgraded to a new server, and Oracle is doing something strange. The column names and the row data does not match up. For example, the column will say name, while the data will be the manager. Under the manager column will be the employee_id, and under the Employee Id will be the name.

It's a simple select query that I do, and the row data comes up in the correct order. But the columns do not match what the row data is. Does anybody have any idea what the problem can be. Thnx for the help.
 
If you're using SQL*Plus, check that your column headings haven't got shuffled around somehow. Type in "col employee_id" to see what the heading is.
 
We are not using SQL* Plus, so that is not the case. Thnx for the input though.
 
Hi,
If not SqlPLus , what?
Anyway, what happens if you do use SqlPlus?

Does a desc command ( from SqlPlus) show the columns in the order you expect?

[profile]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top