HI I am new to database, in one of project MS-SQL database has been migrated to MySQL and i have been assigned job to verify the integrity of the database after migration. I am not aware of database as it is not my cup of cofee, but forced to drink it. Need expert advise in how to verify the data was migrated properly or not.
You need to compare the data in sql server to that in mysql. Probably they do not have the same data representation which will have been taken care of in transforming te data for migration. There wlil be two parts - verifying that the those transformations end up with a viable representation of the data for the business needs and to verify that the migration hs been carried out correctly and completely.
Have the tables just been coppied across using the same structures? If so then the first step should be ri compare the row counts from the tables. If the structures are not the same then you need to look at counts of business entities.
Then you need to reconcile the detailed data which means comparing the data in the two systems. You can do this by an extract from the two systems and a compare or you could take a random sample from each table and compare those with the other system
========================================== Cursors are useful if you don't know sql. SSIS can be used in a similar way. Beer is not cold and it isn't fizzy.