I'm currently trying to copy data from table into another by using a SELECT INTO query. But Im receiving an error in SQL Server.
"Msg 2714, Level 16, State 6, Line 2 There is already an object named 'Product' in the database."
Im still very new to sql. This is the SQL script I've created to do the job.
BEGIN TRANSACTION
SELECT d.[PDate]
,d.[SDate]
,d.[UseDRM]
,d.[CreatedBy]
,d.[CreatedDate]
,d.[UpdatedBy]
,d.[UpdatedDate]
INTO [******].[dbo].[Product]
FROM [******].[dbo].[ProductTypeData] AS d
JOIN [******].[dbo].[Product] AS t
ON d.ProductTypeDataID = t.ProductTypeDataID
ROLLBACK TRANSACTION
I have already created these column in the destination table but they are currently empty. Any help is greatly appreciated.