You should use the data import/export feature from Administration/Periodic. Create a new export group, set it up to exclude the tables you don't want. Then perform the export from one database (company) and import into the other.
But let me explain the situation i am working on.
I have 2 databases with exactly the same schema, one is having data and the other is empty and i am running both of them with the same axapta application. Now wat i wanted is to export the data from one DB and import it in the empty DB but there are some tables in the empty DB in which i dont want any data.
But let me explain the situation i am working on.
I have 2 databases with exactly the same schema, one is having data and the other is empty and i am running both of them with the same axapta application. Now wat i wanted is to export the data from one DB and import it in the empty DB but there are some tables in the empty DB in which i dont want any data.
How many tables do you want to clear? If they are not too many, then I would just attach the SQL backup DB from the first to the second system through SQL EM. And later manally delete those data that you want to delete.
Hi Rashi,
you can follow Harish suggestion, however, if i was you, i probably use the DTS in SQP Server to transfer data. i found it is more flexible and easier to do this sort of thing using DTS. What you think harish ???
I agree with vulam, DTS can give you much more ease, but it doesnt work though if you are trying to trasfer data from a non-unicode DB to a unicode enable DB
Great powers comes with great responsibility - Uncle Ben
Comments
You should use the data import/export feature from Administration/Periodic. Create a new export group, set it up to exclude the tables you don't want. Then perform the export from one database (company) and import into the other.
Hth,
Ciprian
Ciprian Dudau
Axapta Developer
Just curious - can't you just detach and attach SQL db directly?
Regards,
Harish Mohanbabu
Long way to go before I sleep..
I am not able to understand you properly.
But let me explain the situation i am working on.
I have 2 databases with exactly the same schema, one is having data and the other is empty and i am running both of them with the same axapta application. Now wat i wanted is to export the data from one DB and import it in the empty DB but there are some tables in the empty DB in which i dont want any data.
Thanks
Rashi
I am not able to understand you properly.
But let me explain the situation i am working on.
I have 2 databases with exactly the same schema, one is having data and the other is empty and i am running both of them with the same axapta application. Now wat i wanted is to export the data from one DB and import it in the empty DB but there are some tables in the empty DB in which i dont want any data.
Thanks
Rashi
Apologies for not being clear.
How many tables do you want to clear? If they are not too many, then I would just attach the SQL backup DB from the first to the second system through SQL EM. And later manally delete those data that you want to delete.
Hope this helps,
Harish Mohanbabu
Long way to go before I sleep..
you can follow Harish suggestion, however, if i was you, i probably use the DTS in SQP Server to transfer data. i found it is more flexible and easier to do this sort of thing using DTS. What you think harish ???
I agree with vulam, DTS can give you much more ease, but it doesnt work though if you are trying to trasfer data from a non-unicode DB to a unicode enable DB