Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ENABLE NOVALIDATE

user32322435Mar 4 2010 — edited Mar 5 2010
Hi ALL,

I have a table app_news_likee.

Column Name ID Pk Null? Data Type Default Histogram Encryption Alg Salt

TITLE 1 Y VARCHAR2 (2000 Char) Yes
CONTENT 2 Y VARCHAR2 (2000 Byte) Yes
START_DATE 3 Y DATE Yes
END_DATE 4 Y DATE Yes
CREATED_BY 5 Y VARCHAR2 (8 Byte) Yes
CREATED_TS 6 Y DATE Yes
NEWS_LINK 7 Y VARCHAR2 (100 Byte) Yes
NEWS_URL 8 Y VARCHAR2 (256 Byte) Yes
BANNER 9 Y CHAR (1 Byte) Yes


I would like to modify the column BANNER to varchar2(1BYTE) instead of CHAR (1 Byte) without affecting the existing records.

I tried

alter table app_news_likee modify BANNER VARCHAR2(1BYTE) ENABLE NOVALIDATE;

It errored out saying : missing keyword

Am I missing something here?


Appreciate your help!

Thanks in advance!
BM
This post has been answered by 730428 on Mar 4 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2010
Added on Mar 4 2010
12 comments
1,127 views