Skip to content
Advertisement

Correct database after backup

I need some help with a query. Actually we have some wrongs DATA in our database.

For some technical reason I restore the backup in another schema.

So actually in my Schema1.DB1.TBL1 I got the backed up DATA and in my Schema2.DB2.TBL2 I have the same table but with some wrongs DATA.

Could you please tell me an SQL query which can help me to restore my data?

The problem is I have to many columns. So I’m asking you if there is an easier way?

Advertisement

Answer

I know the answers are multiples there is some way to do it :

thanks for your answers as I said, I didn’t know if there is a “right way” to do that.

And definitly I’m sure there are other ways to do that. but it if could help someone.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement