drop:数据、表结构、主键、索引、触发器等,附属的东西都会被咔嚓。

truncate:数据会被咔嚓,并且identity会被初始化,也就是说被咔嚓前数据是100,那么新行就是1。但不写入日志。

delete:数据会被咔嚓,但identity不会被初始化,也就是说被咔嚓前数据是100,那么新行就是101

相关文章:

  • 2021-12-08
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
  • 2021-05-16
  • 2021-06-24
猜你喜欢
  • 2021-06-23
  • 2021-06-18
  • 2021-12-03
  • 2021-04-18
  • 2021-12-10
  • 2022-03-02
  • 2021-05-26
相关资源
相似解决方案