Home » SQL & PL/SQL » SQL & PL/SQL » COLUMN_POSITION
COLUMN_POSITION [message #9841] Mon, 08 December 2003 02:33 Go to next message
resy
Messages: 86
Registered: December 2003
Member
hi,

SELECT column_name, column_position
FROM all_cons_columns
WHERE table_name = 'MYEMP'

while executing this im getting the following error

SELECT column_name, column_position
*
ERROR at line 1:
ORA-00904: "COLUMN_POSITION": invalid identifier

can nybody help me to solve this?

thanx.
Re: COLUMN_POSITION [message #9843 is a reply to message #9841] Mon, 08 December 2003 03:06 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
It's an INVALID COLUMN_NAME. As of Oracle 9i rel. 2 the message has changed from 'invalid column name' to '%s: invalid identifier'. The column you're looking for is 'POSITION'.

MHE
Re: COLUMN_POSITION [message #9846 is a reply to message #9843] Mon, 08 December 2003 04:32 Go to previous message
resy
Messages: 86
Registered: December 2003
Member
thnQ
Previous Topic: Reg:Schedules.......
Next Topic: SQL Query Optimization!!
Goto Forum:
  


Current Time: Thu Apr 25 10:09:40 CDT 2024