I am using delete query like this.
delete from stagingclm;
stagingtables has 118 columns in it and has a primary key clmnumber which is referenced as foreign key by two other tables stagingclmline and stagingclmvalues.
stagingclm table has 2 million records in it.
When i am using delete from stagingclm it is taking enormous amount of time.
Is there any faster delete query that can be performed on it? I know i can't use truncate. please suggest.
Start Free Trial