Click here to Skip to main content
12,752,319 members (38,275 online)
Click here to Skip to main content
Articles » Database » Database » SQL Server » Downloads


21 bookmarked
Posted 8 Oct 2008

Simple data export

, 9 Oct 2008 CPOL
Simple export of data from database a to database b using identical tables (SQL Server).
<?xml version="1.0" encoding="utf-8" ?>
		<!-- Require source and target connection strings -->
		<add name="SOURCE" connectionString="Persist Security Info=True;User ID={USER_ID};PASSWORD={PASSWORD};Data Source={DATA_SOURCE};Initial Catalog={INITIAL_CATALOG};" providerName="Sql.Data.SqlClient" />
		<add name="TARGET" connectionString="Persist Security Info=True;User Id={USER_ID};Password={PASSWORD};Data Source={DATA_SOURCE};Initial Catalog={INITIAL_CATALOG};" providerName="Sql.Data.SqlClient" />
		<!-- Tables that require 'set identity_insert [tablename] on' should set value  to true -->
		<add key="Table1" value="true" />
		<add key="Table2" value="true" />
		<add key="Table3" value="false" />
		<add key="Table4" value="true" />

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

R. Giskard Reventlov
United States United States
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170217.1 | Last Updated 9 Oct 2008
Article Copyright 2008 by R. Giskard Reventlov
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid