[英]How do I copy a SQL Server table with triggers?
我想復制一個SQL Server 2008 R2數據庫表A1以創建一個克隆表A1Clone (空表)。 有什么方法可以一次完成此操作嗎? 謝謝。
A1
A1Clone
編輯:
我嘗試了SSMS,數據庫級別, Generate Scripts ,並且能夠生成具有高級選項的腳本,以使腳本能夠創建觸發器和索引。
Generate Scripts
想知道是否還有其他快捷方式可以復制整個表對象。
如果您要詢問如何一次性復制與表相關的對象(如索引,觸發器),則無法通過select into ...這樣的常規方法來做到這一點。
[英]How do I copy a SQL Server database
[英]How do I populate a table with Triggers
[英]Table level triggers in SQL Server
[英]How can I copy a row into same table with SQL Server 2008
[英]How I can copy a table in an other server with SQL code
[英]How do I copy rows from one table to another in SQL?
[英]How do I copy SQL Server 2012 database to localdb instance?
[英]SQL How to copy a table to another server
[英]How to copy a table from SQL Server into MySQL?
[英]How can I disable All DML Triggers for a database in SQL Server?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.