Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

To copy data from one id to another and remove primary table with its all dependencies

$
0
0

Hello,

I have one table called A. A has dependencies on B. B has dependencies on c. C has dependencies on D.

A has dependencies on B,C,D.

How could I copy A,B,C,D's data from id 1 to id 2?

After copying data from id 1 to 2 , I want to remove id 1.

Is there any script to remove it?

Thanks


Virtual Reality


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>