Copy/Export conditional data From Local DB to Remote DB

  • I need to copy/export new data of one or more table from a local SQL database to a hosted server database which is structurally same.

    Can some one suggest the ways to achieve it.

  • You can try one of these options:

    1. Use Import/Export wizard

    2. BCP out from source and then BCP IN in the destination

    3. Use OpenDataSource

  • Hi ,Thanks,

    I can not use import and export wizard since

    it is a manual process.

    In my case there will be lot of clients.Each client will have a database and Client needs to upload data to the server. So only new datas of few tables should be appended in remote database and it should be an automated process.

    Can you put more light on BCP Considering the above situation with example.

  • Nan82 (11/25/2011)


    You can try one of these options:

    1. Use Import/Export wizard

    2. BCP out from source and then BCP IN in the destination

    3. Use OpenDataSource

    OR Try something new & advanced Overview (Replication)

    http://msdn.microsoft.com/en-us/library/bb500346.aspx

  • sanjayasamantaray (11/25/2011)


    Hi ,Thanks,

    I can not use import and export wizard since

    it is a manual process.

    In my case there will be lot of clients.Each client will have a database and Client needs to upload data to the server. So only new datas of few tables should be appended in remote database and it should be an automated process.

    Can you put more light on BCP Considering the above situation with example.

    If u want to use BCP,Try the below link

    http://sqlfool.com/2008/12/bcp-basics/[/url]

    _______________________________________________________________

    Need help? Help us help you.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply