Anyone here know the syntax for removing all data from an Oracle table?
I have been told that it is TRUNCATE TABLE table_name [drop storage]
but that doesn't seem to work
I have been doing the DELETE FROM table_name but it takes along time. Example I had 980,000 records in the table and it took 30 min. to delete all the records in that table.
So obviously I need a much faster way of getting rid of records in an Oracle database.
Any Ideas?
T[sup]h[/sup]e[sub]K[/sub]i[sup]n[/sup]g
I have been told that it is TRUNCATE TABLE table_name [drop storage]
but that doesn't seem to work
I have been doing the DELETE FROM table_name but it takes along time. Example I had 980,000 records in the table and it took 30 min. to delete all the records in that table.
So obviously I need a much faster way of getting rid of records in an Oracle database.
Any Ideas?
T[sup]h[/sup]e[sub]K[/sub]i[sup]n[/sup]g