Click here to Skip to main content
11,641,067 members (64,782 online)
Click here to Skip to main content
Articles » Database » Database » SQL Server » Downloads
Add your own
alternative version

Simple data export

, 9 Oct 2008 CPOL 16K 102 21
Simple export of data from database a to database b using identical tables (SQL Server).
BImport.zip
BImport
bin
Debug
BImport.exe
Properties
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<connectionStrings>
		<!-- 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" />
	</connectionStrings>
	<appSettings>
		<!-- 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" />
	</appSettings>
</configuration>

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.

License

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

Share

About the Author

R. Giskard Reventlov
United States United States
No Biography provided

You may also be interested in...

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