Click here to Skip to main content
15,895,871 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Tried to add a new column to an oracle table using the simple sql statement below:
SQL
Alter table TBL_TRAIN Add Column ITT_001 VARCHAR2(500) 

but received ora-00904: invalid identifier. What's wrong w/ this statement? Thanks in advance if you can point out.
Posted

1 solution

Revised the statement as
Alter table TBL_TRAIN Add (ITT_001 VARCHAR2(50) );

then it went through. This case is to be closed. Thanks for your review.
 
Share this answer
 
Comments
CHill60 30-Jun-14 12:56pm    
Back in March I advised you that answering your own questions is usually thought of as abuse of the forum...especially when you choose to accept your own answer and often ignore the advice of experts. I suggest that you curb this habit. If you find the answer for your query so quickly perhaps it would be better to try harder before posting a question

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900