Delete table statement
1.2 To completely remove the table, use the statement:
drop table table_name purge;
The statement said: do not put in the recycle bin, delete it.
1.3 drop containing the foreign key table
drop table table_name cascade constraints; --- also referred called cascading deletes, integrity constraints and any associated views a and deleted.
Creating a temporary table (corresponding to a copy d_ss_materialmasterpricedtl8 d_ss_materialmasterpricedtl10, free primary key, Index)
create table d_ss_materialmasterpricedtl10 as select * from d_ss_materialmasterpricedtl8;
Import of data from one table to another table (the table data d_ss_materialmasterpricedtl9 insertion d_ss_materialmasterpricedtl8)
insert into d_ss_materialmasterpricedtl8 select * from d_ss_materialmasterpricedtl9;
// check whether there is duplication of data (query d_ss_materialmasterpricedtl8 the id for duplicate)
select t.materialmasterpricedtlid,count(*) from d_ss_materialmasterpricedtl8 t group by t.materialmasterpricedtlid having count(*) > 1