Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

Table copy

$
0
0
hI all,how can i copy a table with an specific amount a data.example:myTable has 5 millions rows.I will create myNewTable as a copy of myTable but with only 1 million data.myNewTable will replace myTable using table rename and myTable will be saved as history data for research.The table needs to be available all the time.How can I achieve this with minimum downtime ?Thanks in advance.

Viewing all articles
Browse latest Browse all 6525

Trending Articles