Home » RDBMS Server » Server Administration » truncate / drop an on line table
truncate / drop an on line table [message #169797] Fri, 28 April 2006 14:09 Go to next message
gjayasekar
Messages: 45
Registered: October 2005
Member
Hi,

1.How to create / drop index an online table

2. how to truncate / drop an online table (table is accessed by users online)

Thanks
jai
Re: truncate / drop an on line table [message #169818 is a reply to message #169797] Fri, 28 April 2006 19:27 Go to previous message
nmacdannald
Messages: 460
Registered: July 2005
Location: Stockton, California - US...
Senior Member
Create index <table_name_NDX>
ON <table_name> (column1, column2, column3)
PCTFREE 10
INITRANS 14
MAXTRANS 99
TABLESPACE <Your_Index_tablespace>
STORAGE ( INITIAL 1M
NEXT 2M
MINEXTENTS 1
MAXEXTENTS 200
)
;

OR

Truncate table <table_name>;

OR

Drop table <table_name>;

you must have the correct priveliges.

[Updated on: Fri, 28 April 2006 19:28]

Report message to a moderator

Previous Topic: Backing up Oracle 10g Dbase ?
Next Topic: Invalid Table
Goto Forum:
  


Current Time: Fri Sep 20 12:29:21 CDT 2024