|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How can i delete the column in oracle8 ????
please help me ![]() |
|
#2
|
||||
|
||||
|
Something like:
Code:
ALTER TABLE SCOTT.BONUS DROP (ENAME)
__________________
My blog Tutorials about OSS databases, DBMonster ... Contribute to OSS Development, fill bug reports! Developer Shed eSupport Commented my.ini/my.cnf (ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins Random data (with a bias) |
|
#3
|
|||
|
|||
|
Thank you.
But when i do it this massage was display ORA: 00905 : missing keyword. the code I entered : alter table xxx drop (xxx_name); |
|
#4
|
|||
|
|||
|
Quote:
According to the Oracle manual (http://download-uk.oracle.com/docs/cd/A87860_01/doc/server.817/a85397/statem2a.htm#2054899) you need to include the COLUMN keyword and remove the brackets if you only want to drop a single column ALTER TABLE xxx DROP COLUMN col_name; You should really start reading manuals, they do have answers for exactly these kind of questions ![]() |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > delete column please |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|