SQL Server關於表的刪除

delete from A  --刪除表A的數據 delete from 手鐲商信息 where 所在城市=‘佛山’ or 成本百分比=70 --從手鐲商信息表中刪除所在城市爲佛山和成本百分比爲70的行 drop table A --刪除表A及其定義 truncate table A --刪除全部行 可是表結構及其列等信息保持不變 並且無日誌記錄 特色是速度快 使用的資源少
相關文章
相關標籤/搜索