Im trying to convert a huge old database to 2005. I can convert things straight over just fine.
My problem is that the old database had many tables that were joined on multiple Char fields. In addition to not being unique and harder to do queries, it was sucking performance out the window on some queries.
Im looking to convert over a table (TableA) and have SQL Server populate an Identity field (TableAID). Then When I load a table thats related, each row Id query TableA for the keys and insert TableAID rather than the multiple other fields.
I can also do this before hand in the old database with a few SQL scripts, but that would make it a two step process using two different technologies. I cant do it afterwards in the new SQLServer 2005 database really. I want to have the new relationships set up when I convert over to make sure the integrity is up to snuff.
If I did it in the SQLServer 2005 database after the DTS, Id have to have SQL scripts to do the queries, delete fields and then create relationships. I guess thats possible, but just not optimal for converting a few dozen databases.
If anyone has any advice on how to do it, how it would be done another way or even just what the proper terms are that I could search on google, that would be great.
This seems like something that wouldnt be totally unheard of doing, so Im pretty sure its been done and probobly documented somewere.
My problem is that the old database had many tables that were joined on multiple Char fields. In addition to not being unique and harder to do queries, it was sucking performance out the window on some queries.
Im looking to convert over a table (TableA) and have SQL Server populate an Identity field (TableAID). Then When I load a table thats related, each row Id query TableA for the keys and insert TableAID rather than the multiple other fields.
I can also do this before hand in the old database with a few SQL scripts, but that would make it a two step process using two different technologies. I cant do it afterwards in the new SQLServer 2005 database really. I want to have the new relationships set up when I convert over to make sure the integrity is up to snuff.
If I did it in the SQLServer 2005 database after the DTS, Id have to have SQL scripts to do the queries, delete fields and then create relationships. I guess thats possible, but just not optimal for converting a few dozen databases.
If anyone has any advice on how to do it, how it would be done another way or even just what the proper terms are that I could search on google, that would be great.
This seems like something that wouldnt be totally unheard of doing, so Im pretty sure its been done and probobly documented somewere.