SQL Server insert performance

后端 未结 8 1234
终归单人心
终归单人心 2020-12-29 06:01

I have an insert query that gets generated like this

INSERT INTO InvoiceDetail (LegacyId,InvoiceId,DetailTypeId,Fee,FeeTax,Investigatorid,SalespersonId,Creat         


        
8条回答
  •  灰色年华
    2020-12-29 06:46

    There are a several things you can do:

    1) Disable any triggers on this table
    2) Drop all indexes
    3) Drop all foreign keys
    4) Disable any check constraints
    

提交回复
热议问题